{"id":"CVE-2023-46047","aliases":["DEBIAN-CVE-2023-46047","EUVD-2023-50308","GHSA-wxh9-34f7-vmrc","OESA-2024-1590"],"status":"disputed","title":"An issue in Sane 1.2.1 allows a local attacker to execute arbitrary code via a crafted file to...","description":"An issue in Sane 1.2.1 allows a local attacker to execute arbitrary code via a crafted file to the sanei_configure_attach() function. NOTE: this is disputed because there is no expectation that the product should be starting with an attacker-controlled configuration file.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00372,"percentile":0.31431,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20"],"published":"2024-03-27T00:00:00Z","modified":"2026-10-26T18:02:34Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.1-2","1.2.1-3","1.2.1-4","1.2.1-5","1.2.1-6","1.2.1-7","1.3.0-1","1.3.0-2","1.3.1-1","1.3.1-2","1.3.1-3","1.3.1-4","1.4.0-1"]},{"source":"osv","ecosystem":"Debian:13","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.1-3","1.3.1-4","1.4.0-1"]},{"source":"osv","ecosystem":"Debian:14","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.1-3","1.3.1-4","1.4.0-1"]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.28-12.oe1"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP4","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.28-12.oe2003sp4"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.28-12.oe2203sp3"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP1","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.28-12.oe2203sp1"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP2","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.28-12.oe2203sp2"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP3","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.28-12.oe2203sp3"}]}],"bundled":2}],"products":[{"vendor":"sane-project","product":"sane_backends"}],"references":[{"url":"https://gitlab.com/sane-project/backends/-/issues/708","tags":["x_transferred","Exploit","Issue Tracking","report"]},{"url":"http://seclists.org/fulldisclosure/2024/Jan/64","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"http://packetstormsecurity.com/files/176818/sane-1.2.1-Null-Pointer.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46047","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wxh9-34f7-vmrc"},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-46047","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1590","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46052","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2023-46047","description":"An issue in Sane 1.2.1 allows a local attacker to execute arbitrary code via a crafted file to the sanei_configure_attach() function. NOTE: this is disputed because there is no expectation that the product should be starting with an attacker-controlled configuration file.","status":"disputed","published":"2024-03-27T00:00:00Z","modified":"2025-11-04T18:18:38.6Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:35:23.309349Z"}],"euvd":[{"id":"EUVD-2023-50308","description":"An issue in Sane 1.2.1 allows a local attacker to execute arbitrary code via a crafted file to the sanei_configure_attach() function. NOTE: this is disputed because there is no expectation that the product should be starting with an attacker-controlled configuration file.","status":"published","published":"2024-03-27T00:00:00Z","modified":"2025-11-04T18:18:38Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T19:49:24.543935Z"}],"ghsa":[{"id":"GHSA-wxh9-34f7-vmrc","title":"An issue in Sane 1.2.1 allows a local attacker to execute arbitrary code via a crafted file to...","description":"An issue in Sane 1.2.1 allows a local attacker to execute arbitrary code via a crafted file to the sanei_configure_attach() function. NOTE: this is disputed because there is no expectation that the product should be starting with an attacker-controlled configuration file.","status":"published","published":"2024-03-27T06:30:32Z","modified":"2025-11-04T21:32:29Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:04:38.133233Z"}],"nvd":[{"id":"CVE-2023-46047","description":"An issue in Sane 1.2.1 allows a local attacker to execute arbitrary code via a crafted file to the sanei_configure_attach() function. NOTE: this is disputed because there is no expectation that the product should be starting with an attacker-controlled configuration file.","status":"disputed","published":"2024-03-27T05:15:47.5Z","modified":"2026-06-17T06:29:56.167Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:09:10.192572Z"}],"osv":[{"id":"CVE-2023-46047","description":"An issue in Sane 1.2.1 allows a local attacker to execute arbitrary code via a crafted file to the sanei_configure_attach() function. NOTE: this is disputed because there is no expectation that the product should be starting with an attacker-controlled configuration file.","status":"published","published":"2024-03-27T05:15:47.5Z","modified":"2026-03-14T12:15:11.733349Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:34.287121Z"},{"id":"DEBIAN-CVE-2023-46047","description":"An issue in Sane 1.2.1 allows a local attacker to execute arbitrary code via a crafted file to the sanei_configure_attach() function. NOTE: this is disputed because there is no expectation that the product should be starting with an attacker-controlled configuration file.","status":"published","published":"2024-03-27T05:15:47.5Z","modified":"2026-10-26T18:02:34.464876845Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:40.275853Z"},{"id":"OESA-2024-1590","title":"sane-backends security update","description":"SANE (Scanner Access Now Easy) is a sane and simple interface to both local and networked scanners and other image acquisition devices like digital still and video cameras.\r\n\r\nSecurity Fix(es):\r\n\r\nAn issue in Sane 1.2.1 allows a local attacker to execute arbitrary code via a crafted file to the sanei_configure_attach() function. NOTE: this is disputed because there is no expectation that the product should be starting with an attacker-controlled configuration file.(CVE-2023-46047)\r\n\r\nSane 1.2.1 heap bounds overwrite in init_options() from backend/test.c via a long init_mode string in a configuration file. NOTE: this is disputed because there is no expectation that test.c code should be executed with an attacker-controlled configuration file.(CVE-2023-46052)","status":"published","published":"2024-05-17T11:07:03Z","modified":"2026-08-18T01:18:26.330615487Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-02T15:52:41.095407Z"}]}}
