GHSA-622h-h2p8-743x

Suggest an improvement
Source
https://github.com/advisories/GHSA-622h-h2p8-743x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-622h-h2p8-743x/GHSA-622h-h2p8-743x.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-622h-h2p8-743x
Aliases
  • CVE-2023-32188
Related
Published
2023-10-06T20:43:52Z
Modified
2024-10-16T17:05:17Z
Severity
  • 9.4 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
JWT token compromise can allow malicious actions including Remote Code Execution (RCE)
Details

Impact

A user can reverse engineer the JWT token (JSON Web Token) used in authentication for Manager and API access, forging a valid NeuVector Token to perform malicious activity in NeuVector. This can lead to an RCE.

Patches

Upgrade to NeuVector version 5.2.2 or later and latest Helm chart (2.6.3+). + In 5.2.2 the certificate for JWT-signing is created automatically by controller with validity of 90days and rotated automatically. + Use Helm-based deployment/upgrade to 5.2.2 to generate a unique certificate for Manager, REST API, ahd registry adapter. Helm based installation/upgrade is required in order to automatically generate certificates upon initial installation and each subsequent upgrade. + See release notes for manual/yaml based deployment advice. + 5.2.2 also implements additional protections against possible RCE for the feature of custom compliance scripts.

Workarounds

Users can replace the Manager & Controller certificate manually by following the instructions in documented here. However, upgrading to 5.2.2 and replacing Manager/REST API certificate is recommended to provide additional security enhancements to prevent possible attempted exploit and resulting RCE. See release notes for additional details.

Credits

Thank you to Dejan Zelic at Offensive Security for responsibly reporting this vulnerability.

For More Information

View the NeuVector Security Policy

General NeuVector documentation

Database specific
{
    "nvd_published_at": "2024-10-16T09:15:03Z",
    "cwe_ids": [
        "CWE-1270"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2023-10-06T20:43:52Z"
}
References

Affected packages

Go / github.com/neuvector/neuvector

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20231003121714-be746957ee7c

Database specific

{
    "last_known_affected_version_range": "< 0.0.0-20230930010431-57d107118e92"
}