UBUNTU-CVE-2022-24805

Source
https://ubuntu.com/security/CVE-2022-24805
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24805.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2022-24805
Related
Published
2022-07-08T11:42:00Z
Modified
2022-07-08T11:42:00Z
Summary
[none]
Details

net-snmp provides various tools relating to the Simple Network Management Protocol. Prior to version 5.9.2, a buffer overflow in the handling of the INDEX of NET-SNMP-VACM-MIB can cause an out-of-bounds memory access. A user with read-only credentials can exploit the issue. 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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / net-snmp

Package

Name
net-snmp
Purl
pkg:deb/ubuntu/net-snmp?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.7.2~dfsg-8.1ubuntu3.3+esm3

Affected versions

5.*

5.7.2~dfsg-8ubuntu1
5.7.2~dfsg-8ubuntu2
5.7.2~dfsg-8.1ubuntu1
5.7.2~dfsg-8.1ubuntu2
5.7.2~dfsg-8.1ubuntu3
5.7.2~dfsg-8.1ubuntu3.1
5.7.2~dfsg-8.1ubuntu3.2
5.7.2~dfsg-8.1ubuntu3.3
5.7.2~dfsg-8.1ubuntu3.3+esm1
5.7.2~dfsg-8.1ubuntu3.3+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "libsnmp-base"
        },
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "libsnmp-dev"
        },
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "libsnmp-dev-dbgsym"
        },
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "libsnmp-perl"
        },
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "libsnmp-perl-dbgsym"
        },
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "libsnmp30"
        },
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "libsnmp30-dbg"
        },
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "libsnmp30-dbgsym"
        },
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "python-netsnmp"
        },
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "python-netsnmp-dbgsym"
        },
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "snmp"
        },
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "snmp-dbgsym"
        },
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "snmpd"
        },
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "snmpd-dbgsym"
        },
        {
            "binary_version": "5.7.2~dfsg-8.1ubuntu3.3+esm3",
            "binary_name": "tkmib"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / net-snmp

Package

Name
net-snmp
Purl
pkg:deb/ubuntu/net-snmp?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.7.3+dfsg-1ubuntu4.6+esm1

Affected versions

5.*

5.7.3+dfsg-1ubuntu2
5.7.3+dfsg-1ubuntu3
5.7.3+dfsg-1ubuntu4
5.7.3+dfsg-1ubuntu4.1
5.7.3+dfsg-1ubuntu4.2
5.7.3+dfsg-1ubuntu4.3
5.7.3+dfsg-1ubuntu4.4
5.7.3+dfsg-1ubuntu4.5
5.7.3+dfsg-1ubuntu4.6

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "libsnmp-base"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "libsnmp-dev"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "libsnmp-dev-dbgsym"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "libsnmp-perl"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "libsnmp-perl-dbgsym"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "libsnmp30"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "libsnmp30-dbg"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "libsnmp30-dbgsym"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "python-netsnmp"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "snmp"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "snmp-dbgsym"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "snmpd"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "snmpd-dbgsym"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "snmptrapd"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "snmptrapd-dbgsym"
        },
        {
            "binary_version": "5.7.3+dfsg-1ubuntu4.6+esm1",
            "binary_name": "tkmib"
        }
    ]
}

Ubuntu:18.04:LTS / net-snmp

Package

Name
net-snmp
Purl
pkg:deb/ubuntu/net-snmp?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.7.3+dfsg-1.8ubuntu3.7

Affected versions

5.*

5.7.3+dfsg-1.7ubuntu1
5.7.3+dfsg-1.8ubuntu1
5.7.3+dfsg-1.8ubuntu2
5.7.3+dfsg-1.8ubuntu3
5.7.3+dfsg-1.8ubuntu3.1
5.7.3+dfsg-1.8ubuntu3.2
5.7.3+dfsg-1.8ubuntu3.3
5.7.3+dfsg-1.8ubuntu3.5
5.7.3+dfsg-1.8ubuntu3.6

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "libsnmp-base"
        },
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "libsnmp-dev"
        },
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "libsnmp-perl"
        },
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "libsnmp-perl-dbgsym"
        },
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "libsnmp30"
        },
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "libsnmp30-dbg"
        },
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "python-netsnmp"
        },
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "python-netsnmp-dbgsym"
        },
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "snmp"
        },
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "snmp-dbgsym"
        },
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "snmpd"
        },
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "snmpd-dbgsym"
        },
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "snmptrapd"
        },
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "snmptrapd-dbgsym"
        },
        {
            "binary_version": "5.7.3+dfsg-1.8ubuntu3.7",
            "binary_name": "tkmib"
        }
    ]
}

Ubuntu:20.04:LTS / net-snmp

Package

Name
net-snmp
Purl
pkg:deb/ubuntu/net-snmp?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.8+dfsg-2ubuntu2.4

Affected versions

5.*

5.7.3+dfsg-5ubuntu5
5.7.3+dfsg-5ubuntu6
5.8+dfsg-2ubuntu1
5.8+dfsg-2ubuntu2
5.8+dfsg-2ubuntu2.1
5.8+dfsg-2ubuntu2.2
5.8+dfsg-2ubuntu2.3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.8+dfsg-2ubuntu2.4",
            "binary_name": "libsnmp-base"
        },
        {
            "binary_version": "5.8+dfsg-2ubuntu2.4",
            "binary_name": "libsnmp-dev"
        },
        {
            "binary_version": "5.8+dfsg-2ubuntu2.4",
            "binary_name": "libsnmp-perl"
        },
        {
            "binary_version": "5.8+dfsg-2ubuntu2.4",
            "binary_name": "libsnmp-perl-dbgsym"
        },
        {
            "binary_version": "5.8+dfsg-2ubuntu2.4",
            "binary_name": "libsnmp35"
        },
        {
            "binary_version": "5.8+dfsg-2ubuntu2.4",
            "binary_name": "libsnmp35-dbg"
        },
        {
            "binary_version": "5.8+dfsg-2ubuntu2.4",
            "binary_name": "snmp"
        },
        {
            "binary_version": "5.8+dfsg-2ubuntu2.4",
            "binary_name": "snmp-dbgsym"
        },
        {
            "binary_version": "5.8+dfsg-2ubuntu2.4",
            "binary_name": "snmpd"
        },
        {
            "binary_version": "5.8+dfsg-2ubuntu2.4",
            "binary_name": "snmpd-dbgsym"
        },
        {
            "binary_version": "5.8+dfsg-2ubuntu2.4",
            "binary_name": "snmptrapd"
        },
        {
            "binary_version": "5.8+dfsg-2ubuntu2.4",
            "binary_name": "snmptrapd-dbgsym"
        },
        {
            "binary_version": "5.8+dfsg-2ubuntu2.4",
            "binary_name": "tkmib"
        }
    ]
}

Ubuntu:22.04:LTS / net-snmp

Package

Name
net-snmp
Purl
pkg:deb/ubuntu/net-snmp?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.9.1+dfsg-1ubuntu2.2

Affected versions

5.*

5.9+dfsg-3ubuntu2
5.9+dfsg-3ubuntu3
5.9+dfsg-3ubuntu4
5.9.1+dfsg-1ubuntu1
5.9.1+dfsg-1ubuntu2
5.9.1+dfsg-1ubuntu2.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "libnetsnmptrapd40"
        },
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "libnetsnmptrapd40-dbgsym"
        },
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "libsnmp-base"
        },
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "libsnmp-dev"
        },
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "libsnmp-perl"
        },
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "libsnmp-perl-dbgsym"
        },
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "libsnmp40"
        },
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "libsnmp40-dbgsym"
        },
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "snmp"
        },
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "snmp-dbgsym"
        },
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "snmpd"
        },
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "snmpd-dbgsym"
        },
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "snmptrapd"
        },
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "snmptrapd-dbgsym"
        },
        {
            "binary_version": "5.9.1+dfsg-1ubuntu2.2",
            "binary_name": "tkmib"
        }
    ]
}