{"id":"CVE-2003-0040","aliases":["DEBIAN-CVE-2003-0040","DSA-247","EUVD-2003-0039","GHSA-vrgp-v3rr-v9mg"],"status":"published","title":"SQL injection vulnerability in the PostgreSQL auth module for courier 0.40 and earlier allows...","description":"SQL injection vulnerability in the PostgreSQL auth module for courier 0.40 and earlier allows remote attackers to execute SQL code via the user name.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0123,"percentile":0.69114,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2003-01-30T00:00:00Z","modified":"2026-10-22T23:47:27Z","fixes":[{"ecosystem":"Debian:12","package":"courier","fixed_in":["0.40.2-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"courier","fixed_in":["0.40.2-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"courier","fixed_in":["0.40.2-3"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"courier","fixed_in":["0.37.3-3.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"courier","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.40.2-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"courier","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.40.2-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"courier","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.40.2-3"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"courier","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.37.3-3.3"}]}],"versions":["0.37.3-2.5","0.37.3-2.6","0.37.3-2.7","0.37.3-2.8","0.37.3-2.9"]}],"products":[{"vendor":"double_precision_incorporated","product":"courier_mta"},{"vendor":"inter7","product":"courier-imap"}],"references":[{"url":"http://www.debian.org/security/2003/dsa-247","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/11213","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/6738","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2003-0040"},{"url":"https://github.com/advisories/GHSA-vrgp-v3rr-v9mg"},{"url":"https://security-tracker.debian.org/tracker/CVE-2003-0040","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2003-0040","description":"SQL injection vulnerability in the PostgreSQL auth module for courier 0.40 and earlier allows remote attackers to execute SQL code via the user name.","status":"published","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T01:43:34.9Z","updated_at":"2026-11-02T14:20:16.757505Z"}],"euvd":[{"id":"EUVD-2003-0039","description":"SQL injection vulnerability in the PostgreSQL auth module for courier 0.40 and earlier allows remote attackers to execute SQL code via the user name.","status":"published","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T01:43:34Z","updated_at":"2026-11-03T01:15:09.127613Z"}],"ghsa":[{"id":"GHSA-vrgp-v3rr-v9mg","title":"SQL injection vulnerability in the PostgreSQL auth module for courier 0.40 and earlier allows...","description":"SQL injection vulnerability in the PostgreSQL auth module for courier 0.40 and earlier allows remote attackers to execute SQL code via the user name.","status":"published","published":"2022-04-29T01:25:43Z","modified":"2023-01-30T05:00:47Z","updated_at":"2026-11-02T14:46:16.34482Z"}],"nvd":[{"id":"CVE-2003-0040","description":"SQL injection vulnerability in the PostgreSQL auth module for courier 0.40 and earlier allows remote attackers to execute SQL code via the user name.","status":"published","published":"2003-02-19T05:00:00Z","modified":"2026-06-16T22:01:23.987Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:46.710758Z"}],"osv":[{"id":"CVE-2003-0040","description":"SQL injection vulnerability in the PostgreSQL auth module for courier 0.40 and earlier allows remote attackers to execute SQL code via the user name.","status":"published","published":"2003-02-19T05:00:00Z","modified":"2026-04-10T03:34:56.640183Z","updated_at":"2026-11-02T15:43:55.998148Z"},{"id":"DEBIAN-CVE-2003-0040","description":"SQL injection vulnerability in the PostgreSQL auth module for courier 0.40 and earlier allows remote attackers to execute SQL code via the user name.","status":"published","published":"2003-02-19T05:00:00Z","modified":"2026-10-22T23:47:27.254334388Z","updated_at":"2026-11-02T15:45:22.248131Z"},{"id":"DSA-247","title":"courier-ssl - missing input sanitizing","status":"published","published":"2003-01-30T00:00:00Z","modified":"2026-03-09T01:18:32.273921Z","updated_at":"2026-11-02T15:46:15.489951Z"}]}}
