Skip to content
Heist/ feed
Back to feed
MediumFix available

frr — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-40302

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.

Products
frr
Affected versions
Not specified
Fixed versions
8.4.1-1
CVEs
CVE-2022-40302
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 15:21 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-40302

core-osv · Original source

Published 3 May 2023, 12:16 UTC

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.

osv:DEBIAN-CVE-2022-40302

frr

Fixed versions: 8.4.1-1

frr

Fixed versions: 8.4.1-1

frr

Fixed versions: 8.4.1-1

Complete source record
{
  "id": "9818bbd7580338224f6ecdb5e02381c3e8c9a33078e49f1abaeb2802d043709d",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-40302",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-40302",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2022-40302",
    "products": [
      {
        "name": {
          "value": "frr",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.4.1-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "frr",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.4.1-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "frr",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8.4.1-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2022-40302",
      "aliases": [
        "DEBIAN-CVE-2022-40302"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.4.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "frr",
            "purl": "pkg:deb/debian/frr?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-40302.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.4.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "frr",
            "purl": "pkg:deb/debian/frr?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-40302.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8.4.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "frr",
            "purl": "pkg:deb/debian/frr?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-40302.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:02:53.823241385Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-40302"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-40302"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-40302",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 324521,
  "published_at": "2023-05-03T12:16:27.423+00:00"
}