{ "schema_version": "1.4.0", "id": "GHSA-mh68-qf2j-8c5g", "modified": "2022-11-04T19:01:17Z", "published": "2022-11-02T19:00:27Z", "aliases": [ "CVE-2022-41716" ], "details": "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\".", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-41716" }, { "type": "WEB", "url": "https://go.dev/cl/446916" }, { "type": "WEB", "url": "https://go.dev/issue/56284" }, { "type": "WEB", "url": "https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJ" }, { "type": "WEB", "url": "https://pkg.go.dev/vuln/GO-2022-1095" } ], "database_specific": { "cwe_ids": [ "CWE-158", "CWE-74" ], "severity": "HIGH", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2022-11-02T16:15:00Z" } }