{"id":"CVE-2009-0858","aliases":["DEBIAN-CVE-2009-0858","DSA-1831-1","EUVD-2009-0855","GHSA-f296-f6r3-pgjg"],"status":"published","title":"The response_addname function in response.c in Daniel J. Bernstein djbdns 1.05 and earlier does...","description":"The response_addname function in response.c in Daniel J. Bernstein djbdns 1.05 and earlier does not constrain offsets in the required manner, which allows remote attackers, with control over a third-party subdomain served by tinydns and axfrdns, to trigger DNS responses containing arbitrary records via crafted zone data for this subdomain.","severity":{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.06278,"percentile":0.93626,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-20"],"published":"2009-03-09T21:00:00Z","modified":"2026-10-23T17:47:40Z","exploits":[{"source":"exploitdb","id":"EDB-32825","title":"djbdns 1.05 - Long Response Packet Remote Cache Poisoning","type":"remote","platform":"linux","date":"2009-02-27","verified":true,"url":"https://www.exploit-db.com/exploits/32825"}],"fixes":[{"ecosystem":"Debian:12","package":"djbdns","fixed_in":["1:1.05-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"djbdns","fixed_in":["1:1.05-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"djbdns","fixed_in":["1:1.05-5"],"sources":["osv"]},{"ecosystem":"Debian:5.0","package":"djbdns","fixed_in":["1:1.05-4+lenny1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"djbdns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.05-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"djbdns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.05-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"djbdns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.05-5"}]}]},{"source":"osv","ecosystem":"Debian:5.0","package":"djbdns","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.05-4+lenny1"}]}],"versions":["1:1.05-4"]}],"products":[{"vendor":"d.j.bernstein","product":"djbdns"}],"references":[{"url":"http://secunia.com/advisories/35820","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/archive/1/501340/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/49003","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.securityfocus.com/archive/1/501479/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://securityandthe.net/2009/03/05/security-issue-in-djbdns-confirmed/","tags":["x_refsource_MISC","x_transferred","Patch","fix"]},{"url":"http://www.debian.org/security/2009/dsa-1831","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://marc.info/?l=djbdns\u0026m=123613000920446\u0026w=2","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/33937","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","evidence"]},{"url":"http://www.securityfocus.com/archive/1/501294/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://marc.info/?l=djbdns\u0026m=123554945710038","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://it.slashdot.org/article.pl?sid=09/03/05/2014249","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-0858"},{"url":"http://securityandthe.net/2009/03/05/security-issue-in-djbdns-confirmed"},{"url":"https://github.com/advisories/GHSA-f296-f6r3-pgjg"},{"url":"https://security-tracker.debian.org/tracker/CVE-2009-0858","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2009-0858","description":"The response_addname function in response.c in Daniel J. Bernstein djbdns 1.05 and earlier does not constrain offsets in the required manner, which allows remote attackers, with control over a third-party subdomain served by tinydns and axfrdns, to trigger DNS responses containing arbitrary records via crafted zone data for this subdomain.","status":"published","published":"2009-03-09T21:00:00Z","modified":"2024-08-07T04:48:52.593Z","updated_at":"2026-11-02T14:33:25.896677Z"}],"euvd":[{"id":"EUVD-2009-0855","description":"The response_addname function in response.c in Daniel J. Bernstein djbdns 1.05 and earlier does not constrain offsets in the required manner, which allows remote attackers, with control over a third-party subdomain served by tinydns and axfrdns, to trigger DNS responses containing arbitrary records via crafted zone data for this subdomain.","status":"published","published":"2009-03-09T21:00:00Z","modified":"2024-08-07T04:48:52Z","updated_at":"2026-11-03T01:39:24.312317Z"}],"ghsa":[{"id":"GHSA-f296-f6r3-pgjg","title":"The response_addname function in response.c in Daniel J. Bernstein djbdns 1.05 and earlier does...","description":"The response_addname function in response.c in Daniel J. Bernstein djbdns 1.05 and earlier does not constrain offsets in the required manner, which allows remote attackers, with control over a third-party subdomain served by tinydns and axfrdns, to trigger DNS responses containing arbitrary records via crafted zone data for this subdomain.","status":"published","published":"2022-05-02T03:18:52Z","modified":"2025-04-09T04:07:15Z","cwes":["CWE-20"],"updated_at":"2026-11-02T15:00:59.52588Z"}],"nvd":[{"id":"CVE-2009-0858","description":"The response_addname function in response.c in Daniel J. Bernstein djbdns 1.05 and earlier does not constrain offsets in the required manner, which allows remote attackers, with control over a third-party subdomain served by tinydns and axfrdns, to trigger DNS responses containing arbitrary records via crafted zone data for this subdomain.","status":"published","published":"2009-03-09T21:30:00.327Z","modified":"2026-06-16T23:05:58.467Z","cvss":[{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:01:34.44527Z"}],"osv":[{"id":"CVE-2009-0858","description":"The response_addname function in response.c in Daniel J. Bernstein djbdns 1.05 and earlier does not constrain offsets in the required manner, which allows remote attackers, with control over a third-party subdomain served by tinydns and axfrdns, to trigger DNS responses containing arbitrary records via crafted zone data for this subdomain.","status":"published","published":"2009-03-09T21:30:00Z","modified":"2026-04-10T03:40:40.991879Z","updated_at":"2026-11-02T15:43:57.452479Z"},{"id":"DEBIAN-CVE-2009-0858","description":"The response_addname function in response.c in Daniel J. Bernstein djbdns 1.05 and earlier does not constrain offsets in the required manner, which allows remote attackers, with control over a third-party subdomain served by tinydns and axfrdns, to trigger DNS responses containing arbitrary records via crafted zone data for this subdomain.","status":"published","published":"2009-03-09T21:30:00.327Z","modified":"2026-10-23T17:47:40.453374155Z","updated_at":"2026-11-02T15:45:24.013654Z"},{"id":"DSA-1831-1","title":"djbdns - privilege escalation","status":"published","published":"2009-07-13T00:00:00Z","modified":"2026-03-09T01:18:33.241332Z","updated_at":"2026-11-02T15:46:14.734124Z"}]}}
