CVE-2022-24806: net-snmp vulnerable to Improper Input Validation when SETing malformed OIDs in master agent and subagent simultaneously

Published Jul 7, 2022
·
Updated

From https://github.com/net-snmp/net-snmp/blob/v5.9.2/CHANGES CVE-2022-24806 Improper Input Validation when SETing malformed OIDs in master agent and subagent simultaneously

Other sources

net-snmp provides various tools relating to the Simple Network Management Protocol. Prior to version 5.9.2, a user with read-write credentials can exploit an Improper Input Validation vulnerability when SETing malformed OIDs in master agent and subagent simultaneously. Version 5.9.2 contains a patch. Users should use strong SNMPv3 credentials and avoid sharing the credentials. Those who must use SNMPv1 or SNMPv2c should use a complex community string and enhance the protection by restricting access to a given IP address range.

— MITRE

Affected Software

41 affected componentsFixes available
redhat/net-snmp<5.9.2
5.9.2
Net-SNMP Net-SNMP<5.9.2
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Debian Debian Linux=10.0
Debian Debian Linux=11.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux Eus=9.2
redhat Enterprise Linux Eus=9.4
redhat Enterprise Linux For Arm 64=9.0
redhat Enterprise Linux For Arm 64=9.2_aarch64
redhat Enterprise Linux For Arm 64=9.4_aarch64
redhat Enterprise Linux For Arm 64 Eus=9.4_aarch64
redhat Enterprise Linux For Ibm Z Systems=9.0
redhat Enterprise Linux For Ibm Z Systems=9.2_s390x
redhat Enterprise Linux For Ibm Z Systems=9.4_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=9.4_s390x
redhat Enterprise Linux For Power Little Endian=9.0
redhat Enterprise Linux For Power Little Endian Eus=9.2_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=9.4_ppc64le
redhat Enterprise Linux Server Aus=9.2
redhat Enterprise Linux Server Aus=9.4
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=9.2_ppc64le
redhat Enterprise Linux Server Update Services For Sap Solutions=9.2
redhat Enterprise Linux Update Services For Sap Solutions=9.4
debian/net-snmp<5.9.3+dfsg-1
5.9.3+dfsg-1
debian/net-snmp<5.9.3+dfsg-1
5.9.3+dfsg-1
debian/net-snmp<5.9.3+dfsg-1
5.9.3+dfsg-1
debian/net-snmp
5.9.3+dfsg-2+deb12u15.9.4+dfsg-2+deb13u15.9.5.2+dfsg-3
alpine/net-snmp<5.9.3-r0
5.9.3-r0
alpine/net-snmp<5.9.3-r0
5.9.3-r0
alpine/net-snmp<5.9.3-r0
5.9.3-r0
alpine/net-snmp<5.9.3-r0
5.9.3-r0
alpine/net-snmp<5.9.3-r0
5.9.3-r0
alpine/net-snmp<5.9.3-r0
5.9.3-r0
alpine/net-snmp<5.9.3-r0
5.9.3-r0
alpine/net-snmp<5.9.3-r0
5.9.3-r0
alpine/net-snmp<5.9.3-r0
5.9.3-r0
alpine/net-snmp<5.9.3-r0
5.9.3-r0
alpine/net-snmp<5.9.3-r0
5.9.3-r0
alpine/net-snmp<5.9.3-r0
5.9.3-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/net-snmp to a version that resolves this vulnerability.

    Fixed in 5.9.2
  2. Upgrade

    Upgrade debian/net-snmp to a version that resolves this vulnerability.

    Fixed in 5.9.3+dfsg-2+deb12u1Fixed in 5.9.4+dfsg-2+deb13u1Fixed in 5.9.5.2+dfsg-3
  3. Upgrade

    Upgrade alpine/net-snmp to a version that resolves this vulnerability.

    Fixed in 5.9.3-r0
  4. Upgrade

    Upgrade debian/net-snmp to a version that resolves this vulnerability.

    Fixed in 5.9.3+dfsg-1
  5. Upgrade

    Upgrade net-snmp to a version that resolves this vulnerability.

    Fixed in 5.9.2
  6. Compensating control

    For SNMPv1 or SNMPv2c, use a complex community string and restrict access to a given IP address range; for SNMPv3, use strong credentials and do not share them.

Event History

Apr 16, 2024
CVE Published
via MITRE·07:44 PM
Data Sourced
via MITRE·07:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2022-24806?

CVE-2022-24806 has a medium severity rating due to improper input validation when setting malformed OIDs.

2

How do I fix CVE-2022-24806?

To fix CVE-2022-24806, users should upgrade to a version of net-snmp that is higher than 5.9.2.

3

Which software versions are affected by CVE-2022-24806?

CVE-2022-24806 affects versions of net-snmp up to and including 5.9.2 and specific versions of Fedora and Debian Linux.

4

What are the potential impacts of CVE-2022-24806?

The potential impacts of CVE-2022-24806 include system instability or unauthorized access due to improper input handling.

5

Is there a workaround for CVE-2022-24806?

Currently, there are no effective workarounds for CVE-2022-24806 other than upgrading to a secure version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203