Skip to content

Commit

Permalink
Update NVD Data and source
Browse files Browse the repository at this point in the history
  • Loading branch information
witchcraze committed Jun 17, 2023
1 parent a94a733 commit 6b5d575
Show file tree
Hide file tree
Showing 10 changed files with 1,421 additions and 53 deletions.
115 changes: 83 additions & 32 deletions Go.json
Original file line number Diff line number Diff line change
Expand Up @@ -6195,14 +6195,14 @@
}
}
},
"CVE-2023-29403": {
"CVE-ID": "CVE-2023-29403",
"CVE-2023-29402": {
"CVE-ID": "CVE-2023-29402",
"NVD": {
"Descriptions": "On Unix platforms, the Go runtime does not behave differently when a binary is run with the setuid/setgid bits. This can be dangerous in certain cases, such as when dumping memory state, or assuming the status of standard i/o file descriptors. If a setuid/setgid binary is executed with standard I/O file descriptors closed, opening any files can result in unexpected content being read or written with elevated privileges. Similarly, if a setuid/setgid program is terminated, either via panic or signal, it may leak the contents of its registers.",
"Descriptions": "The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in their names. Modules which are retrieved using the go command, i.e. via \"go get\", are not affected (modules retrieved using GOPATH-mode, i.e. GO111MODULE=off, may be affected).",
"Cvss2_BaseScore": 0,
"Cvss3_BaseScore": 7.8,
"Cvss3_BaseScore": 9.8,
"Cvss2_VectorString": "",
"Cvss3_VectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"Cvss3_VectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"CPEs": [
{
"URI": "cpe:/a:golang:go",
Expand All @@ -6225,48 +6225,62 @@
"Official": {
"1.21": {
"source": {
"60272": "https://github.com/golang/go/issues/60272"
"60167": "https://github.com/golang/go/issues/60167"
}
},
"1.20.5": {
"source": {
"60518": "https://github.com/golang/go/issues/60518"
"60516": "https://github.com/golang/go/issues/60516"
}
},
"1.19.10": {
"source": {
"60517": "https://github.com/golang/go/issues/60517"
"60515": "https://github.com/golang/go/issues/60515"
}
}
}
},
"CVE-2023-29405": {
"CVE-ID": "CVE-2023-29405",
"CVE-2023-29403": {
"CVE-ID": "CVE-2023-29403",
"NVD": {
"Descriptions": "The go command may execute arbitrary code at build time when using cgo. This may occur when running \"go get\" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a \"#cgo LDFLAGS\" directive. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.",
"Descriptions": "On Unix platforms, the Go runtime does not behave differently when a binary is run with the setuid/setgid bits. This can be dangerous in certain cases, such as when dumping memory state, or assuming the status of standard i/o file descriptors. If a setuid/setgid binary is executed with standard I/O file descriptors closed, opening any files can result in unexpected content being read or written with elevated privileges. Similarly, if a setuid/setgid program is terminated, either via panic or signal, it may leak the contents of its registers.",
"Cvss2_BaseScore": 0,
"Cvss3_BaseScore": 0,
"Cvss3_BaseScore": 7.8,
"Cvss2_VectorString": "",
"Cvss3_VectorString": "",
"CPEs": []
"Cvss3_VectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"CPEs": [
{
"URI": "cpe:/a:golang:go",
"FormattedString": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"VersionStartExcluding": "",
"VersionStartIncluding": "",
"VersionEndExcluding": "1.19.10",
"VersionEndIncluding": ""
},
{
"URI": "cpe:/a:golang:go",
"FormattedString": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"VersionStartExcluding": "",
"VersionStartIncluding": "1.20.0",
"VersionEndExcluding": "1.20.5",
"VersionEndIncluding": ""
}
]
},
"Official": {
"1.21": {
"source": {
"60306": "https://github.com/golang/go/issues/60306",
"60305": "https://github.com/golang/go/issues/60305"
"60272": "https://github.com/golang/go/issues/60272"
}
},
"1.20.5": {
"source": {
"60514": "https://github.com/golang/go/issues/60514",
"60512": "https://github.com/golang/go/issues/60512"
"60518": "https://github.com/golang/go/issues/60518"
}
},
"1.19.10": {
"source": {
"60513": "https://github.com/golang/go/issues/60513",
"60511": "https://github.com/golang/go/issues/60511"
"60517": "https://github.com/golang/go/issues/60517"
}
}
}
Expand All @@ -6276,10 +6290,27 @@
"NVD": {
"Descriptions": "The go command may execute arbitrary code at build time when using cgo. This may occur when running \"go get\" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a \"#cgo LDFLAGS\" directive. The arguments for a number of flags which are non-optional are incorrectly considered optional, allowing disallowed flags to be smuggled through the LDFLAGS sanitization. This affects usage of both the gc and gccgo compilers.",
"Cvss2_BaseScore": 0,
"Cvss3_BaseScore": 0,
"Cvss3_BaseScore": 9.8,
"Cvss2_VectorString": "",
"Cvss3_VectorString": "",
"CPEs": []
"Cvss3_VectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"CPEs": [
{
"URI": "cpe:/a:golang:go",
"FormattedString": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"VersionStartExcluding": "",
"VersionStartIncluding": "",
"VersionEndExcluding": "1.19.10",
"VersionEndIncluding": ""
},
{
"URI": "cpe:/a:golang:go",
"FormattedString": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"VersionStartExcluding": "",
"VersionStartIncluding": "1.20.0",
"VersionEndExcluding": "1.20.5",
"VersionEndIncluding": ""
}
]
},
"Official": {
"1.21": {
Expand All @@ -6302,30 +6333,50 @@
}
}
},
"CVE-2023-29402": {
"CVE-ID": "CVE-2023-29402",
"CVE-2023-29405": {
"CVE-ID": "CVE-2023-29405",
"NVD": {
"Descriptions": "The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in their names. Modules which are retrieved using the go command, i.e. via \"go get\", are not affected (modules retrieved using GOPATH-mode, i.e. GO111MODULE=off, may be affected).",
"Descriptions": "The go command may execute arbitrary code at build time when using cgo. This may occur when running \"go get\" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a \"#cgo LDFLAGS\" directive. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.",
"Cvss2_BaseScore": 0,
"Cvss3_BaseScore": 0,
"Cvss3_BaseScore": 9.8,
"Cvss2_VectorString": "",
"Cvss3_VectorString": "",
"CPEs": []
"Cvss3_VectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"CPEs": [
{
"URI": "cpe:/a:golang:go",
"FormattedString": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"VersionStartExcluding": "",
"VersionStartIncluding": "",
"VersionEndExcluding": "1.19.10",
"VersionEndIncluding": ""
},
{
"URI": "cpe:/a:golang:go",
"FormattedString": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"VersionStartExcluding": "",
"VersionStartIncluding": "1.20.0",
"VersionEndExcluding": "1.20.5",
"VersionEndIncluding": ""
}
]
},
"Official": {
"1.21": {
"source": {
"60167": "https://github.com/golang/go/issues/60167"
"60306": "https://github.com/golang/go/issues/60306",
"60305": "https://github.com/golang/go/issues/60305"
}
},
"1.20.5": {
"source": {
"60516": "https://github.com/golang/go/issues/60516"
"60514": "https://github.com/golang/go/issues/60514",
"60512": "https://github.com/golang/go/issues/60512"
}
},
"1.19.10": {
"source": {
"60515": "https://github.com/golang/go/issues/60515"
"60513": "https://github.com/golang/go/issues/60513",
"60511": "https://github.com/golang/go/issues/60511"
}
}
}
Expand Down
23 changes: 20 additions & 3 deletions Go/CVE-2023-29402.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,27 @@
"NVD": {
"Descriptions": "The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in their names. Modules which are retrieved using the go command, i.e. via \"go get\", are not affected (modules retrieved using GOPATH-mode, i.e. GO111MODULE=off, may be affected).",
"Cvss2_BaseScore": 0,
"Cvss3_BaseScore": 0,
"Cvss3_BaseScore": 9.8,
"Cvss2_VectorString": "",
"Cvss3_VectorString": "",
"CPEs": []
"Cvss3_VectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"CPEs": [
{
"URI": "cpe:/a:golang:go",
"FormattedString": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"VersionStartExcluding": "",
"VersionStartIncluding": "",
"VersionEndExcluding": "1.19.10",
"VersionEndIncluding": ""
},
{
"URI": "cpe:/a:golang:go",
"FormattedString": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"VersionStartExcluding": "",
"VersionStartIncluding": "1.20.0",
"VersionEndExcluding": "1.20.5",
"VersionEndIncluding": ""
}
]
},
"Official": {
"1.21": {
Expand Down
23 changes: 20 additions & 3 deletions Go/CVE-2023-29404.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,27 @@
"NVD": {
"Descriptions": "The go command may execute arbitrary code at build time when using cgo. This may occur when running \"go get\" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a \"#cgo LDFLAGS\" directive. The arguments for a number of flags which are non-optional are incorrectly considered optional, allowing disallowed flags to be smuggled through the LDFLAGS sanitization. This affects usage of both the gc and gccgo compilers.",
"Cvss2_BaseScore": 0,
"Cvss3_BaseScore": 0,
"Cvss3_BaseScore": 9.8,
"Cvss2_VectorString": "",
"Cvss3_VectorString": "",
"CPEs": []
"Cvss3_VectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"CPEs": [
{
"URI": "cpe:/a:golang:go",
"FormattedString": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"VersionStartExcluding": "",
"VersionStartIncluding": "",
"VersionEndExcluding": "1.19.10",
"VersionEndIncluding": ""
},
{
"URI": "cpe:/a:golang:go",
"FormattedString": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"VersionStartExcluding": "",
"VersionStartIncluding": "1.20.0",
"VersionEndExcluding": "1.20.5",
"VersionEndIncluding": ""
}
]
},
"Official": {
"1.21": {
Expand Down
23 changes: 20 additions & 3 deletions Go/CVE-2023-29405.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,27 @@
"NVD": {
"Descriptions": "The go command may execute arbitrary code at build time when using cgo. This may occur when running \"go get\" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a \"#cgo LDFLAGS\" directive. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.",
"Cvss2_BaseScore": 0,
"Cvss3_BaseScore": 0,
"Cvss3_BaseScore": 9.8,
"Cvss2_VectorString": "",
"Cvss3_VectorString": "",
"CPEs": []
"Cvss3_VectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"CPEs": [
{
"URI": "cpe:/a:golang:go",
"FormattedString": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"VersionStartExcluding": "",
"VersionStartIncluding": "",
"VersionEndExcluding": "1.19.10",
"VersionEndIncluding": ""
},
{
"URI": "cpe:/a:golang:go",
"FormattedString": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"VersionStartExcluding": "",
"VersionStartIncluding": "1.20.0",
"VersionEndExcluding": "1.20.5",
"VersionEndIncluding": ""
}
]
},
"Official": {
"1.21": {
Expand Down
Loading

0 comments on commit 6b5d575

Please sign in to comment.