{ "id": "CVE-2022-41716", "sourceIdentifier": "security@golang.org", "published": "2022-11-02T16:15:11.150", "lastModified": "2022-11-04T13:16:13.183", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows. In syscall.StartProcess and os/exec.Cmd, invalid environment variable values containing NUL values are not properly checked for. A malicious environment variable value can exploit this behavior to set a value for a different environment variable. For example, the environment variable string \"A=B\\x00C=D\" sets the variables \"A=B\" and \"C=D\"." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE", "baseScore": 7.5, "baseSeverity": "HIGH" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-74" } ] }, { "source": "security@golang.org", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-158" } ] } ], "configurations": [ { "operator": "AND", "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.18.8", "matchCriteriaId": "38EFB36B-50AE-41B5-A036-EBE041702AF7" }, { "vulnerable": true, "criteria": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.19.0", "versionEndExcluding": "1.19.3", "matchCriteriaId": "D3E7F5D0-6DE2-4D7E-AF0A-04C4BE7F512D" } ] }, { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": false, "criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*", "matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA" } ] } ] } ], "references": [ { "url": "https://go.dev/cl/446916", "source": "security@golang.org", "tags": [ "Patch", "Vendor Advisory" ] }, { "url": "https://go.dev/issue/56284", "source": "security@golang.org", "tags": [ "Issue Tracking", "Patch", "Vendor Advisory" ] }, { "url": "https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJ", "source": "security@golang.org", "tags": [ "Patch", "Release Notes", "Vendor Advisory" ] }, { "url": "https://pkg.go.dev/vuln/GO-2022-1095", "source": "security@golang.org", "tags": [ "Vendor Advisory" ] } ] }