ghsa-hcjf-rp5h-g5h3
Vulnerability from github
Published
2022-05-24 17:48
Modified
2024-10-23 18:32
Severity ?
Summary
Command Injection in SaltStack Salt
Details
In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the snapper module that allows for local privilege escalation on a minion. The attack requires that a file is created with a pathname that is backed up by snapper, and that the master calls the snapper.diff function (which executes popen unsafely).
{ "affected": [ { "database_specific": { "last_known_affected_version_range": "\u003c= 3002.6" }, "package": { "ecosystem": "PyPI", "name": "salt" }, "ranges": [ { "events": [ { "introduced": "2016.11.0" }, { "fixed": "3003rc1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2021-31607" ], "database_specific": { "cwe_ids": [ "CWE-77", "CWE-78" ], "github_reviewed": true, "github_reviewed_at": "2022-06-23T06:37:59Z", "nvd_published_at": "2021-04-23T06:15:00Z", "severity": "HIGH" }, "details": "In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the snapper module that allows for local privilege escalation on a minion. The attack requires that a file is created with a pathname that is backed up by snapper, and that the master calls the snapper.diff function (which executes popen unsafely).", "id": "GHSA-hcjf-rp5h-g5h3", "modified": "2024-10-23T18:32:07Z", "published": "2022-05-24T17:48:21Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-31607" }, { "type": "WEB", "url": "https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-56.yaml" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LDKMAJXYFHM4USVX3H5V2GCCBGASWUSM" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LDKMAJXYFHM4USVX3H5V2GCCBGASWUSM" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ" }, { "type": "WEB", "url": "https://sec.stealthcopter.com/saltstack-snapper-minion-privledge-escaltion" }, { "type": "WEB", "url": "https://security.gentoo.org/glsa/202310-22" }, { "type": "WEB", "url": "https://www.debian.org/security/2021/dsa-5011" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Command Injection in SaltStack Salt" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.