golang / vulndb

[mirror] The Go Vulnerability Database
Other
562 stars 60 forks source link

x/vulndb: potential Go vuln in github.com/cri-o/cri-o: GHSA-cm9x-c3rh-7rc4 #1206

Closed GoVulnBot closed 1 year ago

GoVulnBot commented 1 year ago

In GitHub Security Advisory GHSA-cm9x-c3rh-7rc4, there is a vulnerability in the following Go packages or modules:

Unit Fixed Vulnerable Ranges
github.com/cri-o/cri-o 1.26.0 < 1.26.0

Cross references: No existing reports found with this module or alias.

See doc/triage.md for instructions on how to triage this report.

modules:
  - module: TODO
    versions:
      - fixed: 1.26.0
    packages:
      - package: github.com/cri-o/cri-o
description: "### Impact\nIt is possible to craft an environment variable with newlines
    to add entries to a container's /etc/passwd. It is possible to circumvent admission
    validation of username/UID by adding such an entry.\n\nNote: because the pod author
    is in control of the container's /etc/passwd, this is not considered a new risk
    factor. However, this advisory is being opened for transparency and as a way of
    tracking fixes.\n\n### Patches\n1.26.0 will have the fix. More patches will be
    posted as they're available.\n\n### Workarounds\nAdditional security controls
    like SELinux should prevent any damage a container is able to do with root on
    the host. Using SELinux is recommended because this class of attack is already
    possible by manually editing the container's /etc/passwd \n\n### References\n"
cves:
  - CVE-2022-4318
ghsas:
  - GHSA-cm9x-c3rh-7rc4
neild commented 1 year ago

Fix CL: https://github.com/cri-o/cri-o/pull/6450/files

gopherbot commented 1 year ago

Change https://go.dev/cl/460419 mentions this issue: data/excluded: batch add GO-2022-1253, GO-2022-1251, GO-2022-1250, GO-2022-1248, GO-2022-1245, GO-2022-1243, GO-2022-1240, GO-2022-1239, GO-2022-1236, GO-2022-1235, GO-2022-1225, GO-2022-1220, GO-2022-1219, GO-2022-1218, GO-2022-1216, GO-2022-1208, GO-2022-1206, GO-2022-1204, GO-2022-1200, GO-2022-1192, GO-2022-1190, GO-2022-1189, GO-2022-1258, GO-2022-1226, GO-2022-1214, GO-2022-1210, GO-2022-1212

gopherbot commented 4 months ago

Change https://go.dev/cl/592835 mentions this issue: data/reports: unexclude 50 reports

gopherbot commented 2 months ago

Change https://go.dev/cl/607232 mentions this issue: data/reports: unexclude 20 reports (30)