2022-09-28 17:00:34 +00:00
{
2022-11-02 16:00:34 +00:00
"data_version" : "4.0" ,
2022-09-28 17:00:34 +00:00
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"CVE_data_meta" : {
"ID" : "CVE-2022-41716" ,
2022-11-02 16:00:34 +00:00
"ASSIGNER" : "security@golang.org" ,
"STATE" : "PUBLIC"
2022-09-28 17:00:34 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2022-11-02 16:00:34 +00:00
"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\"."
}
]
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "CWE-158: Improper Neutralization of Null Byte or NUL Character"
}
]
2022-09-28 17:00:34 +00:00
}
]
2022-11-02 16:00:34 +00:00
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"vendor_name" : "Go standard library" ,
"product" : {
"product_data" : [
{
"product_name" : "syscall" ,
"version" : {
"version_data" : [
{
2023-06-08 21:00:40 +00:00
"version_affected" : "<" ,
"version_name" : "0" ,
"version_value" : "1.18.8"
2022-11-02 16:00:34 +00:00
} ,
{
2023-06-08 21:00:40 +00:00
"version_affected" : "<" ,
"version_name" : "1.19.0-0" ,
"version_value" : "1.19.3"
2022-11-02 16:00:34 +00:00
}
]
}
} ,
{
"product_name" : "os/exec" ,
"version" : {
"version_data" : [
{
2023-06-08 21:00:40 +00:00
"version_affected" : "<" ,
"version_name" : "0" ,
"version_value" : "1.18.8"
2022-11-02 16:00:34 +00:00
} ,
{
2023-06-08 21:00:40 +00:00
"version_affected" : "<" ,
"version_name" : "1.19.0-0" ,
"version_value" : "1.19.3"
2022-11-02 16:00:34 +00:00
}
]
}
}
]
}
}
]
}
} ,
"references" : {
"reference_data" : [
{
"url" : "https://go.dev/issue/56284" ,
"refsource" : "MISC" ,
"name" : "https://go.dev/issue/56284"
} ,
{
"url" : "https://go.dev/cl/446916" ,
"refsource" : "MISC" ,
"name" : "https://go.dev/cl/446916"
} ,
{
"url" : "https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJ" ,
"refsource" : "MISC" ,
"name" : "https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM/m/hSpmRzk-AgAJ"
} ,
{
"url" : "https://pkg.go.dev/vuln/GO-2022-1095" ,
"refsource" : "MISC" ,
"name" : "https://pkg.go.dev/vuln/GO-2022-1095"
}
]
} ,
"credits" : [
{
"lang" : "en" ,
"value" : "RyotaK (https://twitter.com/ryotkak)"
}
]
2022-09-28 17:00:34 +00:00
}