{"id":"UBUNTU-CVE-2025-3818","details":"A vulnerability, which was classified as critical, was found in webpy web.py 0.70. Affected is the function PostgresDB._process_insert_query of the file web/db.py. The manipulation of the argument seqname leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","modified":"2026-06-17T20:15:27.588334902Z","published":"2025-04-19T20:15:00Z","related":["USN-8443-1"],"upstream":["CVE-2025-3818"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-3818"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-3818"},{"type":"REPORT","url":"https://noppgwz8if.feishu.cn/docx/TxjpddUpTokyBwxibSgcTRr7nUf"},{"type":"REPORT","url":"https://vuldb.com/?id.305724"},{"type":"REPORT","url":"https://vuldb.com/?submit.555649"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8443-1"}],"affected":[{"package":{"name":"webpy","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/webpy?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.37+20120626-1ubuntu0.1~esm1"}]}],"versions":["1:0.37+20120626-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:0.37+20120626-1ubuntu0.1~esm1","binary_name":"python-webpy"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-3818.json"}},{"package":{"name":"webpy","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/webpy?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.38+20170615-1ubuntu0.1~esm1"}]}],"versions":["1:0.38-1","1:0.38+20170615-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-webpy","binary_version":"1:0.38+20170615-1ubuntu0.1~esm1"},{"binary_version":"1:0.38+20170615-1ubuntu0.1~esm1","binary_name":"python3-webpy"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-3818.json"}},{"package":{"name":"webpy","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/webpy?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.40-2ubuntu0.1~esm1"}]}],"versions":["1:0.39+20181101-1","1:0.40-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1:0.40-2ubuntu0.1~esm1","binary_name":"python3-webpy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-3818.json"}},{"package":{"name":"webpy","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/webpy?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.61-1ubuntu0.1~esm1"}]}],"versions":["1:0.61-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1:0.61-1ubuntu0.1~esm1","binary_name":"python3-webpy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-3818.json"}},{"package":{"name":"webpy","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/webpy?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.62-4ubuntu0.1~esm1"}]}],"versions":["1:0.62-4"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-webpy","binary_version":"1:0.62-4ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-3818.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}