psgo: Improper Privilege Management
CVE-2022-1227 is a high-severity improper privilege management vulnerability in psgo, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. Affected psgo versions: podman 4.0, psgo 1.7.2. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 4.17% chance of exploitation within 30 days, which is in the top 8.94% of all scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Podman to 4.0.0 or a later version.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
- Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Psgo | psgo | podman 4.0, psgo 1.7.2 | Not stated |
| Podman Project | Podman | before 4.0.0 | 4.0.0 |
| Red Hat | Developer Tools | 1.0 | Not stated |
| Red Hat | Enterprise Linux Server Update Services For SAP Solutions | 8.6 | Not stated |
| Red Hat | Openshift Container Platform | 4.0 | Not stated |
| Red Hat | Quay | 3.0.0 | Not stated |
| Red Hat | Enterprise Linux | 7.0; 8.0 | Not stated |
| Red Hat | Enterprise Linux EUS | 8.6 | Not stated |
| Red Hat | Enterprise Linux For IBM Z Systems | 7.0; 8.6 | Not stated |
| Red Hat | Enterprise Linux For Power Little Endian | 7.0; 8.6 | Not stated |
| Red Hat | Enterprise Linux Server | 7.0 | Not stated |
| Red Hat | Enterprise Linux Server AUS | 8.6 | Not stated |
| Red Hat | Enterprise Linux Server For Power Little Endian Update Services For SAP Solutions | 8.6 | Not stated |
| Red Hat | Enterprise Linux Server TUS | 8.6 | Not stated |
| Red Hat | Enterprise Linux Workstation | 7.0 | Not stated |
| Fedora Project | Fedora | 34; 35 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- RequiredA user must take an action such as opening a file or link.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.8 | High | NVD |
| CVSS 2.0 | 6.8 | Medium | NVD |
Official description
A privilege escalation flaw was found in Podman. This flaw allows an attacker to publish a malicious image to a public registry. Once this image is downloaded by a potential victim, the vulnerability is triggered after a user runs the 'podman top' command. This action gives the attacker access to the host filesystem, leading to information disclosure or denial of service.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Privilege Management
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
How developers prevent this class of flaw
- Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
- Follow the principle of least privilege when assigning access rights to entities in a software system.
- Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.
More Improper Privilege Management vulnerabilities (CWE-269)
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- bugzilla.redhat.com/show_bug.cgi?id=2070368Issue Tracking, Third Party Advisory
Technical write-ups (may include proof of concept)
- github.com/containers/podman/issues/10941Exploit, Issue Tracking, Third Party Advisory
Other references
Recent Improper Privilege Management vulnerabilities
- 8.8 High severity
- 8.8 High severity
- 7.3 High severity
- 7.8 High severity
- 8.8 High severity
- 8.8 High severity
Spotted an error? Tell us.