{"cve":"CVE-2022-31671","nvd":{"published":"2024-11-14T12:15:17.250","modified":"2026-06-17T04:46:01.493","status":"Analyzed","description":"Harbor fails to validate user permissions when reading and updating job execution logs through the P2P preheat execution logs. By sending a request that attempts to read/update P2P preheat execution logs and specifying different job IDs, malicious authenticated users could read all the job logs stored in the Harbor database.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","score":7.4},"cwes":["CWE-863","CWE-285"],"references":["https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7","https://github.com/goharbor/harbor/security/advisories/GHSA-q76q-q8hw-hmpw"],"products":["linuxfoundation:harbor"],"source":"nvd","synced_at":"2026-10-19T21:57:07.693694550+00:00"},"epss":{"cve":"CVE-2022-31671","score":0.0053,"percentile":0.44825,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-q76q-q8hw-hmpw","url":"https://osv.dev/vulnerability/GHSA-q76q-q8hw-hmpw","summary":"Harbor fails to validate the user permissions when reading job execution logs through the P2P preheat execution logs","modified":"2026-02-04T04:22:02.592590Z","packages":[{"ecosystem":"Go","name":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[">=1.0.0 <1.10.13"],"fixed":["1.10.13"]},{"ecosystem":"Go","name":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[">=2.0.0 <2.4.3"],"fixed":["2.4.3"]},{"ecosystem":"Go","name":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","ranges":[">=2.5.0 <2.5.2"],"fixed":["2.5.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}