forked from google/osv-scalibr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request google#70 from zpavlinovic:govulncheck
PiperOrigin-RevId: 640545958
- Loading branch information
Showing
6 changed files
with
125 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
detector/govulncheck/binary/testdata/vulndb/ID/GO-2024-2887.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ | ||
"schema_version": "1.3.1", | ||
"id": "GO-2024-2887", | ||
"modified": "0001-01-01T00:00:00Z", | ||
"published": "0001-01-01T00:00:00Z", | ||
"aliases": [ | ||
"CVE-2024-24790" | ||
], | ||
"summary": "Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip", | ||
"details": "The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected for IPv4-mapped IPv6 addresses, returning false for addresses which would return true in their traditional IPv4 forms.", | ||
"affected": [ | ||
{ | ||
"package": { | ||
"name": "stdlib", | ||
"ecosystem": "Go" | ||
}, | ||
"ranges": [ | ||
{ | ||
"type": "SEMVER", | ||
"events": [ | ||
{ | ||
"introduced": "0" | ||
}, | ||
{ | ||
"fixed": "1.21.11" | ||
}, | ||
{ | ||
"introduced": "1.22.0-0" | ||
}, | ||
{ | ||
"fixed": "1.22.4" | ||
} | ||
] | ||
} | ||
], | ||
"ecosystem_specific": { | ||
"imports": [ | ||
{ | ||
"path": "net/netip", | ||
"symbols": [ | ||
"Addr.IsGlobalUnicast", | ||
"Addr.IsInterfaceLocalMulticast", | ||
"Addr.IsLinkLocalMulticast", | ||
"Addr.IsLoopback", | ||
"Addr.IsMulticast", | ||
"Addr.IsPrivate" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"references": [ | ||
{ | ||
"type": "FIX", | ||
"url": "https://go.dev/cl/590316" | ||
}, | ||
{ | ||
"type": "REPORT", | ||
"url": "https://go.dev/issue/67680" | ||
}, | ||
{ | ||
"type": "WEB", | ||
"url": "https://groups.google.com/g/golang-announce/c/XbxouI9gY7k/m/TuoGEhxIEwAJ" | ||
} | ||
], | ||
"credits": [ | ||
{ | ||
"name": "Enze Wang of Alioth (@zer0yu)" | ||
}, | ||
{ | ||
"name": "Jianjun Chen of Zhongguancun Lab (@chenjj)" | ||
} | ||
], | ||
"database_specific": { | ||
"url": "https://pkg.go.dev/vuln/GO-2024-2887", | ||
"review_status": "REVIEWED" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[{"path":"golang.org/x/net","vulns":[{"id":"GO-2022-1144","modified":"2023-06-12T18:45:41Z","fixed":"0.4.0"}]},{"path":"stdlib","vulns":[{"id":"GO-2022-1144","modified":"2023-06-12T18:45:41Z","fixed":"1.19.4"}]}] | ||
[{"path":"golang.org/x/net","vulns":[{"id":"GO-2022-1144","modified":"2023-06-12T18:45:41Z","fixed":"0.4.0"}]},{"path":"stdlib","vulns":[{"id":"GO-2022-1144","modified":"2023-06-12T18:45:41Z","fixed":"1.19.4"},{"id":"GO-2024-2887","modified":"2024-06-04T17:58:12Z","fixed":"1.22.4"}]}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[{"id":"GO-2022-1144","modified":"2023-06-12T18:45:41Z","aliases":["CVE-2022-41717","GHSA-xrjj-mj9h-534m"]}] | ||
[{"id":"GO-2022-1144","modified":"2023-06-12T18:45:41Z","aliases":["CVE-2022-41717","GHSA-xrjj-mj9h-534m"]},{"id":"GO-2024-2887","modified":"2024-06-04T17:58:12Z","aliases":["CVE-2024-24790"]}] |