CVE-2019-16159

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-16159
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-16159.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-16159
Downstream
Related
Published
2019-09-09T15:15:12Z
Modified
2025-09-19T10:39:46.750441Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

BIRD Internet Routing Daemon 1.6.x through 1.6.7 and 2.x through 2.0.5 has a stack-based buffer overflow. The BGP daemon's support for RFC 8203 administrative shutdown communication messages included an incorrect logical expression when checking the validity of an input message. Sending a shutdown communication with a sufficient message length causes a four-byte overflow to occur while processing the message, where two of the overflow bytes are attacker-controlled and two are fixed.

References

Affected packages

Git / gitlab.labs.nic.cz/labs/bird

Affected ranges

Type
GIT
Repo
https://gitlab.labs.nic.cz/labs/bird
Events
Introduced
1e3810f9f8e251d82a8157b39df9be196315c43e
Last affected
a6622bd2046970da997c7d08dc08405613917991
Introduced
fa5c09a2e708ed505ca140531b98e695fdaf989c
Last affected
cc02da816fb062c93b4f0d61b0cfa02b673a5e00
Type
GIT
Repo
https://gitlab.nic.cz/labs/bird
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
1657c41c96b3c07d9265b07dd4912033ead4124b
Fixed
8388f5a7e14108a1458fea35bfbb5a453e2c563c

Affected versions

v1.*

v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.3.0
v1.3.1
v1.3.10
v1.3.11
v1.3.2
v1.3.3
v1.3.4
v1.3.5
v1.3.6
v1.3.7
v1.3.8
v1.3.9
v1.4.0
v1.4.1
v1.4.2
v1.4.3
v1.4.4
v1.4.5
v1.5.0
v1.6.0
v1.6.1
v1.6.2
v1.6.3
v1.6.4
v1.6.5
v1.6.6
v1.6.7

v2.*

v2.0.0
v2.0.0-pre0
v2.0.0-pre1
v2.0.1
v2.0.2
v2.0.3
v2.0.4
v2.0.5

Database specific

{
    "vanir_signatures": [
        {
            "id": "CVE-2019-16159-19bde9a3",
            "signature_type": "Line",
            "digest": {
                "line_hashes": [
                    "216893417837476986888965276365877246422",
                    "223445219091451626815491961387763006748",
                    "321385252695183225000492290604323630133",
                    "240393356610038048681844503473819906720",
                    "4383943790272205345412568721163061337",
                    "276441775111768339359338816026274139390",
                    "84258977817401017440276937716070434403",
                    "295253454909988706774094035716076630568"
                ],
                "threshold": 0.9
            },
            "target": {
                "file": "proto/bgp/packets.c"
            },
            "deprecated": false,
            "signature_version": "v1",
            "source": "https://gitlab.nic.cz/labs/bird@8388f5a7e14108a1458fea35bfbb5a453e2c563c"
        },
        {
            "id": "CVE-2019-16159-62d9e0ec",
            "signature_type": "Function",
            "digest": {
                "function_hash": "130779972019287339614087948162341524144",
                "length": 448.0
            },
            "target": {
                "file": "proto/bgp/packets.c",
                "function": "bgp_handle_message"
            },
            "deprecated": false,
            "signature_version": "v1",
            "source": "https://gitlab.nic.cz/labs/bird@8388f5a7e14108a1458fea35bfbb5a453e2c563c"
        },
        {
            "id": "CVE-2019-16159-c1c649bd",
            "signature_type": "Line",
            "digest": {
                "line_hashes": [
                    "216893417837476986888965276365877246422",
                    "223445219091451626815491961387763006748",
                    "321385252695183225000492290604323630133",
                    "240393356610038048681844503473819906720",
                    "255920384722461930579550090089086617062",
                    "38099894567800398323843450381818194066",
                    "84125401342413400062944322038071946879",
                    "70697898021381015989562920937856652083"
                ],
                "threshold": 0.9
            },
            "target": {
                "file": "proto/bgp/packets.c"
            },
            "deprecated": false,
            "signature_version": "v1",
            "source": "https://gitlab.nic.cz/labs/bird@1657c41c96b3c07d9265b07dd4912033ead4124b"
        },
        {
            "id": "CVE-2019-16159-ffdc3bfd",
            "signature_type": "Function",
            "digest": {
                "function_hash": "130779972019287339614087948162341524144",
                "length": 448.0
            },
            "target": {
                "file": "proto/bgp/packets.c",
                "function": "bgp_handle_message"
            },
            "deprecated": false,
            "signature_version": "v1",
            "source": "https://gitlab.nic.cz/labs/bird@1657c41c96b3c07d9265b07dd4912033ead4124b"
        }
    ]
}