Security mailing lists by PureSourceCode

CVE-2022-39213

HIGH 7.5CVSS 3.1

Go-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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pandatix go-cvss
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.