CVE-2022-31249
CRITICAL 9.8CVSS 3.1Command injection in Git package in Wrangler
A Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in wrangler of SUSE Rancher allows remote attackers to inject commands in the underlying host via crafted commands passed to Wrangler. This issue affects: SUSE Rancher wrangler version 0.7.3 and prior versions; wrangler version 0.8.4 and prior versions; wrangler version 1.0.0 and prior versions.
- Published
- 7 Feb 2023
- Last modified
- 17 Jun 2026
- Assigned by
- meissner@suse.de
- NVD status
- Modified
- Weakness
- CWE-77CWE-78CWE-88
- Also known as
- GHSA-qrg7-hfx7-95c5GO-2023-1519
- Sources
- NVDJSONOSV GHSA-qrg7-hfx7-95c5JSONOSV GO-2023-1519JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | meissner@suse.de (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | suse | wranglercpe:2.3:a:suse:wrangler:*:*:*:*:*:*:*:* |
< 0.7.4 | 0.7.4 |
| NVD | suse | wranglercpe:2.3:a:suse:wrangler:*:*:*:*:*:*:*:* |
>= 0.8.0, < 0.8.5 | 0.8.5 |
| NVD | suse | wranglercpe:2.3:a:suse:wrangler:1.0.0:*:*:*:*:*:*:* |
= 1.0.0 | |
| OSV | Go | github.com/rancher/wrangler | < 0.7.4-security1 | 0.7.4-security1 |
| OSV | Go | github.com/rancher/wrangler | >= 0.8.0, < 0.8.5-security1 | 0.8.5-security1 |
| OSV | Go | github.com/rancher/wrangler | >= 1.0.0, < 1.0.1 | 1.0.1 |
| OSV | Go | github.com/rancher/wrangler | >= 0.8.6, < 0.8.11 | 0.8.11 |
| OSV | Go | github.com/rancher/wrangler | < 0.7.4-security1; >= 0.8.0, < 0.8.5-security1; >= 0.8.6, < 0.8.11; >= 1.0.0, < 1.0.1 | 0.7.4-security1, 0.8.5-security1, 0.8.11, 1.0.1 |
References
- https://bugzilla.suse.com/show_bug.cgi?id=1200299 · Issue Tracking, WEB
- https://github.com/rancher/wrangler/security/advisories/GHSA-qrg7-hfx7-95c5 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31249 · ADVISORY
- https://github.com/rancher/wrangler/commit/12397eec50155cb2d24aa70bdf9e90c5f3b9a727 · WEB
- https://github.com/rancher/wrangler/commit/341018c8fef3e12867c7cb2649bd2cecac75f287 · WEB
- https://github.com/rancher/wrangler/commit/5a387e13e8d51e3340d9e5012a1951f0cca5fc90 · WEB
- https://github.com/rancher/wrangler/commit/8649ecc062204f28764fd80157a621cbae89c9cf · WEB
- https://github.com/advisories/GHSA-qrg7-hfx7-95c5 · ADVISORY
- https://github.com/rancher/wrangler · PACKAGE
- https://github.com/rancher/wrangler/compare/v0.7.2...v0.7.4-security1 · WEB
- https://github.com/rancher/wrangler/compare/v0.8.4...v0.8.5-security1 · WEB
- https://pkg.go.dev/vuln/GO-2023-1519 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 7 Feb 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Feb 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jan 2023)