CVE-2022-39213
HIGH 7.5CVSS 3.1Go-CVSS has Out-of-bounds Read vulnerability in ParseVector function
go-cvss is a Go module to manipulate Common Vulnerability Scoring System (CVSS). In affected versions when a full CVSS v2.0 vector string is parsed using ParseVector, an Out-of-Bounds Read is possible due to a lack of tests. The Go module will then panic. The problem is patched in tag v0.4.0, by the commit d9d478ff0c13b8b09ace030db9262f3c2fe031f4. Users are advised to upgrade. Users unable to upgrade may avoid this issue by parsing only CVSS v2.0 vector strings that do not have all attributes defined (e.g. AV:N/AC:L/Au:N/C:P/I:P/A:C/E:U/RL:OF/RC:C/CDP:MH/TD:H/CR:M/IR:M/AR:M). As stated in SECURITY.md, the CPE v2.3 to refer to this Go module is cpe:2.3:a:pandatix:go_cvss:*:*:*:*:*:*:*:*. The entry has already been requested to the NVD CPE dictionary.
- Published
- 15 Sep 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-125
- Also known as
- GHSA-xhmf-mmv2-4hhxGO-2022-1002
- Sources
- NVDJSONOSV GHSA-xhmf-mmv2-4hhxJSONOSV GO-2022-1002JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pandatix | go-cvsscpe:2.3:a:pandatix:go-cvss:*:*:*:*:*:go:*:* |
>= 0.2.0, < 0.4.0 | 0.4.0 |
| OSV | Go | github.com/pandatix/go-cvss | >= 0.2.0, < 0.4.0 | 0.4.0 |
References
- https://github.com/pandatix/go-cvss/blob/master/SECURITY.md · Third Party Advisory, WEB
- https://github.com/pandatix/go-cvss/commit/d9d478ff0c13b8b09ace030db9262f3c2fe031f4 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/pandatix/go-cvss/security/advisories/GHSA-xhmf-mmv2-4hhx · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-39213 · ADVISORY
- https://github.com/pandatix/go-cvss · PACKAGE
- https://pkg.go.dev/vuln/GO-2022-1002 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 15 Sep 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Sep 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Sep 2022)