CVE-2022-23628
Incorrect calculation in github.com/open-policy-agent/opa
6.3
MEDIUM
CVSS 3.1
EPSS 0.31%
Description
Pretty-printing an AST that contains synthetic nodes can change the logic of some statements by reordering array literals.
How to fix CVE-2022-23628
To remediate CVE-2022-23628, upgrade the affected package to a fixed version below.
- Go/github.com/open-policy-agent/opa—upgrade to 0.37.2 or later
- —upgrade to 0.37.2 or later
Is CVE-2022-23628 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 0.33.1, < 0.37.2
- >= 0.33.1, < 0.37.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |