CVE-2008-4309
Integer overflow in the netsnmp_create_subtree_cache function in agent/snmp_agent.c in net-snmp 5.4 before 5.4.2.1, 5.3 before 5.3.2.3…
Check your servers for CVE-2008-4309
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2008-4309 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Integer overflow in the netsnmp_create_subtree_cache function in agent/snmp_agent.c in net-snmp 5.4 before 5.4.2.1, 5.3 before 5.3.2.3, and 5.2 before 5.2.5.1 allows remote attackers to cause a denial of service (crash) via a crafted SNMP GETBULK request, which triggers a heap-based buffer overflow, related to the number of responses or repeats.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 5.06%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 93.1% of all scored CVEs. Scores of 28 Nov 2026.
The assessment of CISA (SSVC, 28 May 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-190 Integer Overflow or Wraparound
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2008-4309 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2008-4309RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2008-4309Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2008-4309
trivy image --scanners vuln IMAGE | grep CVE-2008-4309
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- 33631 secunia.com · third party advisory
- 32664 secunia.com · third party advisory
- 32560 secunia.com · third party advisory
- http://support.apple.com/kb/HT3549 support.apple.com
- SUSE-SR:2009:003 lists.opensuse.org · vendor advisory
- http://www.vmware.com/security/advisories/VMSA-2009-0001.html vmware.com
- 33746 secunia.com · third party advisory
- RHSA-2008:0971 redhat.com · vendor advisory
- 35074 secunia.com · third party advisory
- 35679 secunia.com · third party advisory
- APPLE-SA-2009-05-12 lists.apple.com · vendor advisory
- 33003 secunia.com · third party advisory
16 more
- 262908 sunsolve.sun.com · vendor advisory
- 32539 secunia.com · third party advisory
- 32711 secunia.com · third party advisory
- DSA-1663 debian.org · vendor advisory
- APPLE-SA-2010-12-16-1 lists.apple.com · vendor advisory
- TA09-133A us-cert.gov · third party advisory
- http://sourceforge.net/forum/forum.php?forum_id=882903 sourceforge.net
- 33095 secunia.com · third party advisory
- http://support.apple.com/kb/HT4298 support.apple.com
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0315 wiki.rpath.com
- http://support.avaya.com/elmodocs2/security/ASA-2008-467.htm support.avaya.com
- 33821 secunia.com · third party advisory
- GLSA-200901-15 security.gentoo.org · vendor advisory
- HPSBMA02447 marc.info · vendor advisory
- USN-685-1 ubuntu.com · vendor advisory
- MDVSA-2008:225 mandriva.com · vendor advisory
Other references
- ADV-2009-0301 vupen.com · vdb entry
- oval:org.mitre.oval:def:9860 oval.cisecurity.org · vdb entry, signature
- oval:org.mitre.oval:def:6353 oval.cisecurity.org · vdb entry, signature
- netsnmp-netsnmpcreatesubtreecache-dos(46262) exchange.xforce.ibmcloud.com · vdb entry
- http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/tags/Ext-5-2-5-1/net-snmp/agent/snmp_agent.c?r1=17271&r2=17272&pathrev=17272 net-snmp.svn.sourceforge.net
- [oss-security] 20081031 New net-snmp DoS openwall.com · mailing list
- oval:org.mitre.oval:def:6171 oval.cisecurity.org · vdb entry, signature
- ADV-2009-1297 vupen.com · vdb entry
- 1021129 securitytracker.com · vdb entry
- ADV-2008-2973 vupen.com · vdb entry
- 32020 securityfocus.com · vdb entry
- ADV-2009-1771 vupen.com · vdb entry
- 20081112 rPSA-2008-0315-1 net-snmp net-snmp-client net-snmp-server net-snmp-utils securityfocus.com · mailing list
- ADV-2008-3400 vupen.com · vdb entry
Source: the record CVE-2008-4309 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse