mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-11-26 06:37:07 +00:00
grype 0.121 prints source.target as a string for file, directory and purl sources. The parser expected an object and failed every scan. A bare npm, PyPI or Go archive holds nothing grype can catalog, so a scan of the archive read minimist 0.0.8 as clean. The scanner now passes a purl for these registries and falls back to the file for others.
2 lines
16 KiB
JSON
2 lines
16 KiB
JSON
{"matches":[{"vulnerability":{"id":"GHSA-69ch-w2m2-3vjp","dataSource":"https://github.com/advisories/GHSA-69ch-w2m2-3vjp","namespace":"github:language:go","severity":"High","urls":["https://nvd.nist.gov/vuln/detail/CVE-2022-32149","https://go.dev/cl/442235","https://go.dev/issue/56152","https://groups.google.com/g/golang-announce/c/-hjNw559_tE/m/KlGTfid5CAAJ","https://pkg.go.dev/vuln/GO-2022-1059","https://github.com/golang/go/issues/56152","https://github.com/golang/text/commit/434eadcdbc3b0256971992e8c70027278364c72c","https://security.netapp.com/advisory/ntap-20230203-0006"],"description":"golang.org/x/text/language Denial of service via crafted Accept-Language header","cvss":[{"type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","metrics":{"baseScore":7.5,"exploitabilityScore":3.9,"impactScore":3.6},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2022-32149","epss":0.01841,"percentile":0.79543,"date":"2026-11-22"}],"cwes":[{"cve":"CVE-2022-32149","cwe":"CWE-772","source":"[email protected]","type":"Primary"}],"fix":{"versions":["0.3.8"],"state":"fixed","available":[{"version":"0.3.8","date":"2023-02-23","kind":"first-observed"}]},"advisories":[],"risk":1.38075},"relatedVulnerabilities":[{"id":"CVE-2022-32149","dataSource":"https://nvd.nist.gov/vuln/detail/CVE-2022-32149","namespace":"nvd:cpe","severity":"High","urls":["https://go.dev/cl/442235","https://go.dev/issue/56152","https://groups.google.com/g/golang-announce/c/-hjNw559_tE/m/KlGTfid5CAAJ","https://pkg.go.dev/vuln/GO-2022-1059","https://security.netapp.com/advisory/ntap-20230203-0006/"],"description":"An attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLanguage will take significant time to parse.","cvss":[{"source":"[email protected]","type":"Primary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","metrics":{"baseScore":7.5,"exploitabilityScore":3.9,"impactScore":3.6},"vendorMetadata":{}},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","metrics":{"baseScore":7.5,"exploitabilityScore":3.9,"impactScore":3.6},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2022-32149","epss":0.01841,"percentile":0.79543,"date":"2026-11-22"}],"cwes":[{"cve":"CVE-2022-32149","cwe":"CWE-772","source":"[email protected]","type":"Primary"}]}],"matchDetails":[{"type":"exact-direct-match","matcher":"go-module-matcher","searchedBy":{"language":"go","namespace":"github:language:go","package":{"name":"golang.org/x/text","version":"v0.3.5"}},"found":{"vulnerabilityID":"GHSA-69ch-w2m2-3vjp","versionConstraint":"<0.3.8 (go)"},"fix":{"suggestedVersion":"0.3.8"}}],"artifact":{"id":"c798aff519efc8d4","name":"golang.org/x/text","version":"v0.3.5","type":"go-module","locations":null,"language":"go","licenses":[],"cpes":[],"purl":"pkg:golang/golang.org/x/[email protected]","upstreams":[]}},{"vulnerability":{"id":"GHSA-ppp9-7jff-5vj2","dataSource":"https://github.com/advisories/GHSA-ppp9-7jff-5vj2","namespace":"github:language:go","severity":"High","urls":["https://nvd.nist.gov/vuln/detail/CVE-2021-38561","https://deps.dev/advisory/OSV/GO-2021-0113","https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f","https://groups.google.com/g/golang-announce","https://pkg.go.dev/golang.org/x/text/language","https://go.dev/cl/340830","https://pkg.go.dev/vuln/GO-2021-0113"],"description":"golang.org/x/text/language Out-of-bounds Read vulnerability","cvss":[{"type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","metrics":{"baseScore":7.5,"exploitabilityScore":3.9,"impactScore":3.6},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2021-38561","epss":0.01484,"percentile":0.74657,"date":"2026-11-22"}],"cwes":[{"cve":"CVE-2021-38561","cwe":"CWE-125","source":"[email protected]","type":"Primary"},{"cve":"CVE-2021-38561","cwe":"CWE-125","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary"}],"fix":{"versions":["0.3.7"],"state":"fixed","available":[{"version":"0.3.7","date":"2023-02-26","kind":"first-observed"}]},"advisories":[],"risk":1.113},"relatedVulnerabilities":[{"id":"CVE-2021-38561","dataSource":"https://nvd.nist.gov/vuln/detail/CVE-2021-38561","namespace":"nvd:cpe","severity":"High","urls":["https://deps.dev/advisory/OSV/GO-2021-0113","https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f","https://groups.google.com/g/golang-announce","https://pkg.go.dev/golang.org/x/text/language"],"description":"golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.","cvss":[{"source":"[email protected]","type":"Primary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","metrics":{"baseScore":7.5,"exploitabilityScore":3.9,"impactScore":3.6},"vendorMetadata":{}},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","metrics":{"baseScore":7.5,"exploitabilityScore":3.9,"impactScore":3.6},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2021-38561","epss":0.01484,"percentile":0.74657,"date":"2026-11-22"}],"cwes":[{"cve":"CVE-2021-38561","cwe":"CWE-125","source":"[email protected]","type":"Primary"},{"cve":"CVE-2021-38561","cwe":"CWE-125","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary"}]}],"matchDetails":[{"type":"exact-direct-match","matcher":"go-module-matcher","searchedBy":{"language":"go","namespace":"github:language:go","package":{"name":"golang.org/x/text","version":"v0.3.5"}},"found":{"vulnerabilityID":"GHSA-ppp9-7jff-5vj2","versionConstraint":"<0.3.7 (go)"},"fix":{"suggestedVersion":"0.3.7"}}],"artifact":{"id":"c798aff519efc8d4","name":"golang.org/x/text","version":"v0.3.5","type":"go-module","locations":null,"language":"go","licenses":[],"cpes":[],"purl":"pkg:golang/golang.org/x/[email protected]","upstreams":[]}},{"vulnerability":{"id":"GO-2026-5970","dataSource":"https://go.dev/issue/80142","namespace":"govulndb:language:go","severity":"High","urls":["https://go.dev/cl/794100"],"description":"A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes.","cvss":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","metrics":{"baseScore":7.5,"exploitabilityScore":3.9,"impactScore":3.6},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-56852","epss":0.00475,"percentile":0.41887,"date":"2026-11-22"}],"cwes":[{"cve":"CVE-2026-56852","cwe":"CWE-835","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary"}],"fix":{"versions":["0.39.0"],"state":"fixed","available":[{"version":"0.39.0","date":"2026-06-30","kind":"release"}]},"advisories":[],"risk":0.35624999999999996},"relatedVulnerabilities":[{"id":"CVE-2026-56852","dataSource":"https://nvd.nist.gov/vuln/detail/CVE-2026-56852","namespace":"nvd:cpe","severity":"High","urls":["https://go.dev/cl/794100","https://go.dev/issue/80142","https://pkg.go.dev/vuln/GO-2026-5970"],"description":"A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes.","cvss":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","metrics":{"baseScore":7.5,"exploitabilityScore":3.9,"impactScore":3.6},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-56852","epss":0.00475,"percentile":0.41887,"date":"2026-11-22"}],"cwes":[{"cve":"CVE-2026-56852","cwe":"CWE-835","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary"}]}],"matchDetails":[{"type":"exact-direct-match","matcher":"go-module-matcher","searchedBy":{"language":"go","namespace":"govulndb:language:go","package":{"name":"golang.org/x/text","version":"v0.3.5"}},"found":{"vulnerabilityID":"GO-2026-5970","versionConstraint":"<0.39.0 (go)"},"fix":{"suggestedVersion":"0.39.0"}}],"artifact":{"id":"c798aff519efc8d4","name":"golang.org/x/text","version":"v0.3.5","type":"go-module","locations":null,"language":"go","licenses":[],"cpes":[],"purl":"pkg:golang/golang.org/x/[email protected]","upstreams":[]}},{"vulnerability":{"id":"GO-2026-6629","dataSource":"https://go.dev/cl/793360","namespace":"govulndb:language:go","severity":"High","urls":["https://go.dev/issue/80112"],"description":"The Nickname profile can panic with an out-of-bounds slice error when transforming crafted input into a short destination buffer.","cvss":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","metrics":{"baseScore":7.5,"exploitabilityScore":3.9,"impactScore":3.6},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-56851","epss":0.00466,"percentile":0.41115,"date":"2026-11-22"}],"cwes":[{"cve":"CVE-2026-56851","cwe":"CWE-787","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary"}],"fix":{"versions":["0.41.0"],"state":"fixed","available":[{"version":"0.41.0","date":"2026-08-11","kind":"release"}]},"advisories":[],"risk":0.3495},"relatedVulnerabilities":[{"id":"CVE-2026-56851","dataSource":"https://nvd.nist.gov/vuln/detail/CVE-2026-56851","namespace":"nvd:cpe","severity":"High","urls":["https://go.dev/cl/793360","https://go.dev/issue/80112","https://pkg.go.dev/vuln/GO-2026-6629"],"description":"The Nickname profile can panic with an out-of-bounds slice error when transforming crafted input into a short destination buffer.","cvss":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","metrics":{"baseScore":7.5,"exploitabilityScore":3.9,"impactScore":3.6},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-56851","epss":0.00466,"percentile":0.41115,"date":"2026-11-22"}],"cwes":[{"cve":"CVE-2026-56851","cwe":"CWE-787","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary"}]}],"matchDetails":[{"type":"exact-direct-match","matcher":"go-module-matcher","searchedBy":{"language":"go","namespace":"govulndb:language:go","package":{"name":"golang.org/x/text","version":"v0.3.5"}},"found":{"vulnerabilityID":"GO-2026-6629","versionConstraint":"<0.41.0 (go)"},"fix":{"suggestedVersion":"0.41.0"}}],"artifact":{"id":"c798aff519efc8d4","name":"golang.org/x/text","version":"v0.3.5","type":"go-module","locations":null,"language":"go","licenses":[],"cpes":[],"purl":"pkg:golang/golang.org/x/[email protected]","upstreams":[]}}],"source":{"type":"purl","target":"pkg:golang/golang.org/x/[email protected]"},"distro":{"name":"","version":"","idLike":null},"descriptor":{"name":"grype","version":"0.121.2","configuration":{"output":["json"],"file":"","pretty":false,"distro":"","add-cpes-if-none":false,"output-template-file":"","check-for-app-update":true,"only-fixed":false,"only-notfixed":false,"ignore-wontfix":"","platform":"","search":{"scope":"squashed","unindexed-archives":false,"indexed-archives":true},"ignore":[{"vulnerability":"","include-aliases":false,"reason":"","namespace":"","fix-state":"","package":{"name":"kernel-headers","version":"","language":"","type":"rpm","location":"","upstream-name":"kernel"},"vex-status":"","vex-justification":"","match-type":"exact-indirect-match"},{"vulnerability":"","include-aliases":false,"reason":"","namespace":"","fix-state":"","package":{"name":"linux(-.*)?-headers-.*","version":"","language":"","type":"deb","location":"","upstream-name":"linux.*"},"vex-status":"","vex-justification":"","match-type":"exact-indirect-match"},{"vulnerability":"","include-aliases":false,"reason":"","namespace":"","fix-state":"","package":{"name":"linux-libc-dev","version":"","language":"","type":"deb","location":"","upstream-name":"linux"},"vex-status":"","vex-justification":"","match-type":"exact-indirect-match"},{"vulnerability":"","include-aliases":false,"reason":"","namespace":"","fix-state":"","package":{"name":"linux-kbuild-.*","version":"","language":"","type":"deb","location":"","upstream-name":"linux.*"},"vex-status":"","vex-justification":"","match-type":"exact-indirect-match"}],"exclude":[],"externalSources":{"enable":false,"maven":{"searchUpstreamBySha1":true,"baseUrl":"https://search.maven.org/solrsearch/select","rateLimit":300000000}},"match":{"java":{"using-cpes":false},"jvm":{"using-cpes":true},"dotnet":{"using-cpes":false},"golang":{"using-cpes":false,"always-use-cpe-for-stdlib":false,"allow-main-module-pseudo-version-comparison":false},"javascript":{"using-cpes":false},"python":{"using-cpes":false},"ruby":{"using-cpes":false},"rust":{"using-cpes":false},"hex":{"using-cpes":false},"stock":{"using-cpes":true},"dpkg":{"using-cpes":false,"missing-epoch-strategy":"zero","use-cpes-for-eol":false},"rpm":{"using-cpes":false,"missing-epoch-strategy":"auto","use-cpes-for-eol":false}},"fail-on-severity":"","registry":{"insecure-skip-tls-verify":false,"insecure-use-http":false,"ca-cert":""},"show-suppressed":false,"include-matcher-suppressions":false,"by-cve":false,"SortBy":{"sort-by":"risk"},"name":"","default-image-pull-source":"","from":null,"vex-documents":[],"vex-add":[],"match-upstream-kernel-headers":false,"fix-channel":{"redhat-eus":{"apply":"auto","versions":">= 8.0"},"ubuntu-esm":{"apply":"auto","versions":""}},"timestamp":true,"alerts":{"enable-eol-distro-warnings":true},"db":{"cache-dir":"/home/scanner/.cache/grype/db","update-url":"https://grype.anchore.io/databases","ca-cert":"","auto-update":true,"validate-by-hash-on-start":true,"validate-age":true,"max-allowed-built-age":432000000000000,"require-update-check":false,"update-available-timeout":30000000000,"update-download-timeout":300000000000,"max-update-check-frequency":7200000000000},"exp":{},"dev":{"db":{"debug":false}}},"db":{"status":{"schemaVersion":"v6.1.10","from":"https://grype.anchore.io/databases/v6/vulnerability-db_v6.1.10_2026-11-23T00:24:20Z_1795415312.tar.zst?checksum=sha256%3A3d24f57cd3587e2c73f686decc7ad04b213d1f3575bcf1dd847e42df94560f14","built":"2026-11-23T06:28:32Z","path":"/home/scanner/.cache/grype/db/6/vulnerability.db","valid":true},"providers":{"alma":{"captured":"2026-11-23T00:24:25Z","input":"xxh64:9fd4413e0321c324"},"alpine":{"captured":"2026-11-23T00:24:52Z","input":"xxh64:626087ccb8a36373"},"amazon":{"captured":"2026-11-23T00:24:34Z","input":"xxh64:083d74859c705607"},"arch":{"captured":"2026-11-23T00:24:23Z","input":"xxh64:767233e7552ae911"},"bitnami":{"captured":"2026-11-23T00:24:30Z","input":"xxh64:542814d1e958c4e3"},"chainguard":{"captured":"2026-11-23T00:25:25Z","input":"xxh64:40d4772eb76c342f"},"chainguard-libraries":{"captured":"2026-11-23T00:24:52Z","input":"xxh64:73b958306e2dce58"},"debian":{"captured":"2026-11-23T00:24:40Z","input":"xxh64:f9a6456f81777f29"},"dhi":{"captured":"2026-11-23T00:24:45Z","input":"xxh64:a6b8e4e1d1aecfa1"},"echo":{"captured":"2026-11-23T00:24:27Z","input":"xxh64:a2e80388a7d54bb0"},"eol":{"captured":"2026-11-23T00:24:23Z","input":"xxh64:3a3243012dede451"},"epss":{"captured":"2026-11-23T00:24:28Z","input":"xxh64:617f4201c8a347c1"},"fedora":{"captured":"2026-11-23T00:24:35Z","input":"xxh64:55853e5256082c94"},"github":{"captured":"2026-11-23T00:24:47Z","input":"xxh64:1db626b836a7b9a3"},"govulndb":{"captured":"2026-11-23T00:24:22Z","input":"xxh64:4e5d90d5b45aeeb1"},"hummingbird":{"captured":"2026-11-23T00:27:40Z","input":"xxh64:968bec75e99f7d9a"},"kev":{"captured":"2026-11-23T00:24:27Z","input":"xxh64:f9dc8833117b9cfb"},"mariner":{"captured":"2026-11-23T00:24:20Z","input":"xxh64:f8299848201c9565"},"minimos":{"captured":"2026-11-23T00:24:20Z","input":"xxh64:4f5198a5f5c667f3"},"nvd":{"captured":"2026-11-23T00:25:29Z","input":"xxh64:2a0ff8d069da733e"},"oracle":{"captured":"2026-11-23T00:24:36Z","input":"xxh64:ef43f7a6df2d7adf"},"photon":{"captured":"2026-11-23T00:24:26Z","input":"xxh64:830daa42e4331294"},"rhel":{"captured":"2026-11-23T00:26:09Z","input":"xxh64:fc3e7c2e917a2b8d"},"secureos":{"captured":"2026-11-23T00:24:20Z","input":"xxh64:16d87472840d1693"},"sles":{"captured":"2026-11-23T00:26:40Z","input":"xxh64:afa8d8bc8fe91131"},"ubuntu":{"captured":"2026-11-23T00:25:23Z","input":"xxh64:c4e9de4958b5ec11"},"wolfi":{"captured":"2026-11-23T00:24:20Z","input":"xxh64:2d968f4266204048"}}},"timestamp":"2026-11-23T17:56:19.408447325Z"}}
|