UBUNTU-CVE-2022-40302

Source
https://ubuntu.com/security/CVE-2022-40302
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40302.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2022-40302
Related
Published
2023-05-03T12:16:00Z
Modified
2023-05-03T12:16:00Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in bgpd in FRRouting (FRR) through 8.4. By crafting a BGP OPEN message with an option of type 0xff (Extended Length from RFC 9072), attackers may cause a denial of service (assertion failure and daemon restart, or out-of-bounds read). This is possible because of inconsistent boundary checks that do not account for reading 3 bytes (instead of 2) in this 0xff case.

References

Affected packages

Ubuntu:20.04:LTS / frr

Package

Name
frr
Purl
pkg:deb/ubuntu/frr?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.2.1-1ubuntu0.2

Affected versions

6.*

6.0.2-2build2

7.*

7.2-1ubuntu1
7.2-1ubuntu2
7.2.1-1
7.2.1-1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "7.2.1-1ubuntu0.2",
            "binary_name": "frr"
        },
        {
            "binary_version": "7.2.1-1ubuntu0.2",
            "binary_name": "frr-dbgsym"
        },
        {
            "binary_version": "7.2.1-1ubuntu0.2",
            "binary_name": "frr-doc"
        },
        {
            "binary_version": "7.2.1-1ubuntu0.2",
            "binary_name": "frr-pythontools"
        },
        {
            "binary_version": "7.2.1-1ubuntu0.2",
            "binary_name": "frr-rpki-rtrlib"
        },
        {
            "binary_version": "7.2.1-1ubuntu0.2",
            "binary_name": "frr-rpki-rtrlib-dbgsym"
        },
        {
            "binary_version": "7.2.1-1ubuntu0.2",
            "binary_name": "frr-snmp"
        },
        {
            "binary_version": "7.2.1-1ubuntu0.2",
            "binary_name": "frr-snmp-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / frr

Package

Name
frr
Purl
pkg:deb/ubuntu/frr?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1-1ubuntu1.3

Affected versions

7.*

7.5.1-1.1

8.*

8.1-1
8.1-1ubuntu1
8.1-1ubuntu1.1
8.1-1ubuntu1.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "8.1-1ubuntu1.3",
            "binary_name": "frr"
        },
        {
            "binary_version": "8.1-1ubuntu1.3",
            "binary_name": "frr-dbgsym"
        },
        {
            "binary_version": "8.1-1ubuntu1.3",
            "binary_name": "frr-doc"
        },
        {
            "binary_version": "8.1-1ubuntu1.3",
            "binary_name": "frr-pythontools"
        },
        {
            "binary_version": "8.1-1ubuntu1.3",
            "binary_name": "frr-rpki-rtrlib"
        },
        {
            "binary_version": "8.1-1ubuntu1.3",
            "binary_name": "frr-rpki-rtrlib-dbgsym"
        },
        {
            "binary_version": "8.1-1ubuntu1.3",
            "binary_name": "frr-snmp"
        },
        {
            "binary_version": "8.1-1ubuntu1.3",
            "binary_name": "frr-snmp-dbgsym"
        }
    ]
}