Integer overflow in the netsnmp_create_subtree_cache function in agent/snmp_agent.c in…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2008:0971 Released 2008-11-03 · Red Hat rating Importantnet-snmp security update
- Red Hat Desktop version 3 net-snmp-5.0.9-2.30E.25, net-snmp-5.0.9-2.30E.25.i386, net-snmp-devel-5.0.9-2.30E.25 +7
- Red Hat Enterprise Linux (v. 5 server) net-snmp-1:5.3.1-24.el5_2.2, net-snmp-1:5.3.1-24.el5_2.2.i386, net-snmp-1:5.3.1-24.el5_2.2.ia64 +17
- Red Hat Enterprise Linux AS version 3 net-snmp-5.0.9-2.30E.25, net-snmp-5.0.9-2.30E.25.i386, net-snmp-5.0.9-2.30E.25.ia64 +17
- Red Hat Enterprise Linux AS version 4 net-snmp-5.1.2-13.el4_7.2, net-snmp-5.1.2-13.el4_7.2.i386, net-snmp-5.1.2-13.el4_7.2.ia64 +17
- Red Hat Enterprise Linux Desktop (v. 5 client) net-snmp-1:5.3.1-24.el5_2.2, net-snmp-1:5.3.1-24.el5_2.2.i386, net-snmp-libs-1:5.3.1-24.el5_2.2 +5
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) net-snmp-1:5.3.1-24.el5_2.2, net-snmp-devel-1:5.3.1-24.el5_2.2, net-snmp-devel-1:5.3.1-24.el5_2.2.i386
- Red Hat Enterprise Linux Desktop version 4 net-snmp-5.1.2-13.el4_7.2, net-snmp-5.1.2-13.el4_7.2.i386, net-snmp-devel-5.1.2-13.el4_7.2 +7
- Red Hat Enterprise Linux ES version 3 net-snmp-5.0.9-2.30E.25, net-snmp-5.0.9-2.30E.25.i386, net-snmp-5.0.9-2.30E.25.ia64 +12
- Red Hat Enterprise Linux ES version 4 net-snmp-5.1.2-13.el4_7.2, net-snmp-5.1.2-13.el4_7.2.i386, net-snmp-5.1.2-13.el4_7.2.ia64 +12
- Red Hat Enterprise Linux WS version 3 net-snmp-5.0.9-2.30E.25, net-snmp-5.0.9-2.30E.25.i386, net-snmp-5.0.9-2.30E.25.ia64 +12
- Red Hat Enterprise Linux WS version 4 net-snmp-5.1.2-13.el4_7.2, net-snmp-5.1.2-13.el4_7.2.i386, net-snmp-5.1.2-13.el4_7.2.ia64 +12
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2008:0971 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2008:0971 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2008:0971 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2008:0971 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2008:0971 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2008:0971 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2008:0971 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2008:0971 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2008:0971 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2008:0971 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2008:0971 |
Timeline
- 2026-10-02 Threatist record created from CVE-2008-4309
- 2026-10-03 Alias added: GHSA-c4mx-98gv-gxm8
References
Advisory 12
Other 15
- http://support.apple.com/kb/HT3549
- http://www.vmware.com/security/advisories/VMSA-2009-0001.html
- ADV-2009-0301
- oval:org.mitre.oval:def:9860
- oval:org.mitre.oval:def:6353
- [oss-security] 20081031 New net-snmp DoS
- http://sourceforge.net/forum/forum.php?forum_id=882903
- oval:org.mitre.oval:def:6171
- ADV-2009-1297
- http://support.apple.com/kb/HT4298
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0315
- http://support.avaya.com/elmodocs2/security/ASA-2008-467.htm
- ADV-2008-2973
- ADV-2009-1771
- ADV-2008-3400
More Net-snmp vulnerabilities
- TI-2025-42133 Net-SNMP snmptrapd crash CVSS 3.1CRITICAL 9.8
- TI-2018-12840 snmp_oid_compare in snmplib/snmp_api.c in Net-SNMP before 5.8 has a NULL Pointer… CVSS 3.1HIGH 7.5
- TI-2015-04735 The snmp_pdu_parse function in snmp_api.c in net-snmp 5.7.2 and earlier does not remove… CVSS 3.1HIGH 7.5
- TI-2022-22058 handle_ipv6IpForwarding in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.4.3 through… CVSS 3.1MEDIUM 6.5
- TI-2022-22057 handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.8 through 5.9.3… CVSS 3.1MEDIUM 6.5
- TI-2007-05612 The SNMP agent (snmp_agent.c) in net-snmp before 5.4.1 allows remote attackers to cause a… CVSS 2.0HIGH 7.8
Sources
- CVE-2008-4309 · CVE Program
- CVE-2008-4309 · NVD
- FIRST EPSS
- GHSA-c4mx-98gv-gxm8 · GitHub Advisory Database · CC BY 4.0
- CVE-2008-4309 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences