{"id":"UBUNTU-CVE-2023-45158","details":"An OS command injection vulnerability exists in web2py 2.24.1 and earlier. When the product is configured to use notifySendHandler for logging (not the default configuration), a crafted web request may execute an arbitrary OS command on the web server using the product.","modified":"2025-10-24T05:02:17Z","published":"2023-10-16T08:15:00Z","upstream":["CVE-2023-45158"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-45158"},{"type":"REPORT","url":"http://web2py.com/init/default/download"},{"type":"REPORT","url":"https://jvn.jp/en/jp/JVN80476432/"},{"type":"REPORT","url":"https://github.com/web2py/web2py/commit/936e2260b0c34c44e2f3674a893e96d2a7fad0a3"},{"type":"REPORT","url":"http://web2py.com/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-45158"}],"affected":[{"package":{"name":"web2py","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/web2py@2.12.3-1ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.99.7-1","2.12.3-1","2.12.3-1ubuntu0.1"],"ecosystem_specific":{"priority_reason":"Requires a non-default configuration to be vulnerable","binaries":[{"binary_version":"2.12.3-1ubuntu0.1","binary_name":"python-gluon"},{"binary_version":"2.12.3-1ubuntu0.1","binary_name":"python-web2py"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-45158.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}