GHSA-hqhq-hp5x-xp3w

Suggest an improvement
Source
https://github.com/advisories/GHSA-hqhq-hp5x-xp3w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-hqhq-hp5x-xp3w/GHSA-hqhq-hp5x-xp3w.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-hqhq-hp5x-xp3w
Aliases
Related
Published
2025-04-21T03:30:18Z
Modified
2025-04-22T18:43:53.827320Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L CVSS Calculator
Summary
GoBGP does not properly check the input length
Details

An issue was discovered in GoBGP before 3.35.0. pkg/packet/mrt/mrt.go does not properly check the input length, e.g., by ensuring that there are 12 bytes or 36 bytes (depending on the address family).

Database specific
{
    "nvd_published_at": "2025-04-21T01:15:45Z",
    "cwe_ids": [
        "CWE-1284"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-04-21T21:55:19Z"
}
References

Affected packages

Go / github.com/osrg/gobgp

Package

Name
github.com/osrg/gobgp
View open source insights on deps.dev
Purl
pkg:golang/github.com/osrg/gobgp

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Database specific

{
    "last_known_affected_version_range": "< 3.35.0"
}

Go / github.com/osrg/gobgp/v3

Package

Name
github.com/osrg/gobgp/v3
View open source insights on deps.dev
Purl
pkg:golang/github.com/osrg/gobgp/v3

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.35.0