ghsa-mh68-qf2j-8c5g
Vulnerability from github
Published
2022-11-02 19:00
Modified
2022-11-04 19:01
Severity ?
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".
{ "affected": [], "aliases": [ "CVE-2022-41716" ], "database_specific": { "cwe_ids": [ "CWE-158", "CWE-74" ], "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2022-11-02T16:15:00Z", "severity": "HIGH" }, "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\".", "id": "GHSA-mh68-qf2j-8c5g", "modified": "2022-11-04T19:01:17Z", "published": "2022-11-02T19:00:27Z", "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" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N", "type": "CVSS_V3" } ] }
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.