CVE-2009-0858 Other in n/a

Medium 5.8 Published Updated

Remote attackers can inject arbitrary DNS records into responses by exploiting improper offset constraints in djbdns when controlling a third-party subdomain.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2009-0858?

CVE-2009-0858 is a medium-severity vulnerability in n/a, published on 9 Mar 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2009-0858?

It affects 1 product.

Products include D.j.bernstein Djbdns.

How do I fix CVE-2009-0858?

Apply the vendor's patch.

Is CVE-2009-0858 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-0858 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2009-0858, DSA-1831-1, GHSA-f296-f6r3-pgjg.

Is CVE-2009-0858 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free