{"schemaVersion":3,"id":"CVE-2022-31249","aliases":["GHSA-qrg7-hfx7-95c5","GO-2023-1519"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2023-02-07T00:00:00.000Z","modified":"2025-03-25T15:40:55.972Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03759,"percentile":0.89834,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.03759},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.03759,"percentile":0.89834}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03759,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.03759,"percentile":0.89834}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"github.com/rancher","product":"wrangler","name":"github.com/rancher/wrangler","label":"wrangler","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/rancher/wrangler","purlType":"golang","versions":[{"text":"< 0.7.4-security1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.8.0, < 0.8.5-security1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.8.6, < 0.8.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.0.0, < 1.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.7.4-security1 | ≥ 0.8.0, < 0.8.5-security1 | ≥ 0.8.6, < 0.8.11 | ≥ 1.0.0, < 1.0.1","eol":null,"hubHref":null},{"vendor":"suse","product":"rancher","name":"rancher","label":"rancher","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ wrangler, ≤ 0.7.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ wrangler, ≤ 0.7.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"rancher","label":"Rancher","category":"server-app"}},"hubHref":"/vendor/suse/rancher"},{"vendor":"suse","product":"wrangler","name":"wrangler","label":"wrangler","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.7.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.8.0, < 0.8.5","noFixRecorded":false,"fixedIn":null},{"text":"1.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.7.4 | ≥ 0.8.0, < 0.8.5 | 1.0.0","eol":null,"hubHref":"/vendor/suse/wrangler"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1200299","label":"bugzilla.suse.com/show_bug.cgi?id=1200299","hostname":"bugzilla.suse.com","tags":["WEB","Issue Tracking"]},{"url":"https://github.com/rancher/wrangler/security/advisories/GHSA-qrg7-hfx7-95c5","label":"github.com/rancher/wrangler/security/advisories/GHSA-qrg7-hfx7-95c5","hostname":"github.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31249","label":"nvd.nist.gov/vuln/detail/CVE-2022-31249","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/rancher/wrangler/commit/12397eec50155cb2d24aa70bdf9e90c5f3b9a727","label":"github.com/rancher/wrangler/commit/12397eec50155cb2d24aa70bdf9e90c5f3b9a727","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/rancher/wrangler/commit/341018c8fef3e12867c7cb2649bd2cecac75f287","label":"github.com/rancher/wrangler/commit/341018c8fef3e12867c7cb2649bd2cecac75f287","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/rancher/wrangler/commit/5a387e13e8d51e3340d9e5012a1951f0cca5fc90","label":"github.com/rancher/wrangler/commit/5a387e13e8d51e3340d9e5012a1951f0cca5fc90","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/rancher/wrangler/commit/8649ecc062204f28764fd80157a621cbae89c9cf","label":"github.com/rancher/wrangler/commit/8649ecc062204f28764fd80157a621cbae89c9cf","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-qrg7-hfx7-95c5","label":"github.com/advisories/GHSA-qrg7-hfx7-95c5","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/rancher/wrangler","label":"github.com/rancher/wrangler","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rancher/wrangler/compare/v0.7.2...v0.7.4-security1","label":"github.com/rancher/wrangler/compare/v0.7.2...v0.7.4-security1","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/rancher/wrangler/compare/v0.8.4...v0.8.5-security1","label":"github.com/rancher/wrangler/compare/v0.8.4...v0.8.5-security1","hostname":"github.com","tags":["WEB"]},{"url":"https://pkg.go.dev/vuln/GO-2023-1519","label":"pkg.go.dev/vuln/GO-2023-1519","hostname":"pkg.go.dev","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-02-07T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-25T15:40:55.972Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T20:54:22.161Z","stale":false,"partial":false}}