Advisory

DEBIAN-CVE-2022-40318

Also known as: CVE-2022-40318

Summary

The record has no summary.

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. NOTE: this behavior occurs in bgp_open_option_parse in the bgp_open.c file, a different location (with a different attack vector) relative to CVE-2022-40302.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2023-05-03 12:16 UTC
Modified
2026-11-18 07:00 UTC

Affected packages and fixes

frr

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 8.4.1-1 (ecosystem)

Fixed versions

8.4.1-1

Fix

  • Fixed version 8.4.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

frr

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 8.4.1-1 (ecosystem)

Fixed versions

8.4.1-1

Fix

  • Fixed version 8.4.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

frr

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 8.4.1-1 (ecosystem)

Fixed versions

8.4.1-1

Fix

  • Fixed version 8.4.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences