{"id":"CVE-2008-6398","aliases":["DEBIAN-CVE-2008-6398","EUVD-2008-6368","GHSA-xr92-q26v-hcvr"],"status":"published","title":"sng_regress in SNG 1.0.2 allows local users to overwrite arbitrary files via a symlink attack on...","description":"sng_regress in SNG 1.0.2 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/recompiled$$.png, (2) /tmp/decompiled$$.sng, and (3) /tmp/canonicalized$$.sng temporary files.","severity":{"version":"2.0","score":6.9,"vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00363,"percentile":0.30376,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-59"],"published":"2009-03-04T17:00:00Z","modified":"2026-10-23T17:47:25Z","fixes":[{"ecosystem":"Debian:12","package":"sng","fixed_in":["1.0.2-6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"sng","fixed_in":["1.0.2-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"sng","fixed_in":["1.0.2-6"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"sng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2-6"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"sng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"sng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2-6"}]}]}],"products":[{"vendor":"eric_raymond","product":"sng"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/44881","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://lists.debian.org/debian-devel/2008/08/msg00283.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","evidence"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496407","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/30965","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-6398"},{"url":"https://github.com/advisories/GHSA-xr92-q26v-hcvr"},{"url":"https://security-tracker.debian.org/tracker/CVE-2008-6398","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2008-6398","description":"sng_regress in SNG 1.0.2 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/recompiled$$.png, (2) /tmp/decompiled$$.sng, and (3) /tmp/canonicalized$$.sng temporary files.","status":"published","published":"2009-03-04T17:00:00Z","modified":"2024-08-07T11:27:35.806Z","updated_at":"2026-11-02T14:34:46.265542Z"}],"euvd":[{"id":"EUVD-2008-6368","description":"sng_regress in SNG 1.0.2 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/recompiled$$.png, (2) /tmp/decompiled$$.sng, and (3) /tmp/canonicalized$$.sng temporary files.","status":"published","published":"2009-03-04T17:00:00Z","modified":"2024-08-07T11:27:35Z","updated_at":"2026-11-03T01:38:36.321295Z"}],"ghsa":[{"id":"GHSA-xr92-q26v-hcvr","title":"sng_regress in SNG 1.0.2 allows local users to overwrite arbitrary files via a symlink attack on...","description":"sng_regress in SNG 1.0.2 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/recompiled$$.png, (2) /tmp/decompiled$$.sng, and (3) /tmp/canonicalized$$.sng temporary files.","status":"published","published":"2022-05-17T02:11:20Z","modified":"2023-01-27T05:03:18Z","cwes":["CWE-59"],"updated_at":"2026-11-02T14:42:12.753514Z"}],"nvd":[{"id":"CVE-2008-6398","description":"sng_regress in SNG 1.0.2 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/recompiled$$.png, (2) /tmp/decompiled$$.sng, and (3) /tmp/canonicalized$$.sng temporary files.","status":"published","published":"2009-03-04T17:30:02.5Z","modified":"2026-06-16T23:02:09.54Z","cvss":[{"version":"2.0","score":6.9,"vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","level":"medium","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:01:31.451035Z"}],"osv":[{"id":"CVE-2008-6398","description":"sng_regress in SNG 1.0.2 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/recompiled$$.png, (2) /tmp/decompiled$$.sng, and (3) /tmp/canonicalized$$.sng temporary files.","status":"published","published":"2009-03-04T17:30:02Z","modified":"2026-04-10T03:40:27.719333Z","updated_at":"2026-11-02T15:43:57.452479Z"},{"id":"DEBIAN-CVE-2008-6398","description":"sng_regress in SNG 1.0.2 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/recompiled$$.png, (2) /tmp/decompiled$$.sng, and (3) /tmp/canonicalized$$.sng temporary files.","status":"published","published":"2009-03-04T17:30:02.5Z","modified":"2026-10-23T17:47:25.135742193Z","updated_at":"2026-11-02T15:45:23.742363Z"}]}}
