-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add photon * test(vulnerability): use generated structs and mock * test(photon): add integration tests * test(photon): comment in * test(integration): add vulnerability details to trivy.db * chore(mod): update dependencies * chore(README): add Photon OS Co-authored-by: Teppei Fukuda <knqyf263@gmail.com>
- Loading branch information
1 parent
44d74a7
commit fcc193b
Showing
19 changed files
with
603 additions
and
60 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,4 +100,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 |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
"Target": "testdata/fixtures/opensuse-leap-423.tar.gz (opensuse.leap 42.3)", | ||
"Vulnerabilities": null | ||
} | ||
] | ||
] |
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 |
---|---|---|
|
@@ -162,5 +162,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 |
---|---|---|
|
@@ -855,5 +855,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 |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
"Target": "testdata/fixtures/oraclelinux-8-slim.tar.gz (oracle 8.0)", | ||
"Vulnerabilities": null | ||
} | ||
] | ||
] |
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,61 @@ | ||
[ | ||
{ | ||
"Target": "testdata/fixtures/photon-10.tar.gz (photon 1.0)", | ||
"Vulnerabilities": [ | ||
{ | ||
"VulnerabilityID": "CVE-2012-6711", | ||
"PkgName": "bash", | ||
"InstalledVersion": "4.3.48-3.ph1", | ||
"FixedVersion": "4.3.48-4.ph1", | ||
"Title": "bash: heap-based buffer overflow during echo of unsupported characters", | ||
"Description": "A heap-based buffer overflow exists in GNU Bash before 4.3 when wide characters, not supported by the current locale set in the LC_CTYPE environment variable, are printed through the echo built-in function. A local attacker, who can provide data to print through the \"echo -e\" built-in function, may use this flaw to crash a script or execute code with the privileges of the bash process. This occurs because ansicstr() in lib/sh/strtrans.c mishandles u32cconv().", | ||
"Severity": "MEDIUM", | ||
"References": [ | ||
"http://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel\u0026id=863d31ae775d56b785dc5b0105b6d251515d81d5", | ||
"http://www.securityfocus.com/bid/108824", | ||
"https://bugzilla.redhat.com/show_bug.cgi?id=1721071", | ||
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-6711" | ||
] | ||
}, | ||
{ | ||
"VulnerabilityID": "CVE-2019-1563", | ||
"PkgName": "openssl", | ||
"InstalledVersion": "1.0.2s-1.ph1", | ||
"FixedVersion": "1.0.2t-1.ph1", | ||
"Title": "openssl: information disclosure in PKCS7_dataDecode and CMS_decrypt_set1_pkey", | ||
"Description": "In situations where an attacker receives automated notification of the success or failure of a decryption attempt an attacker, after sending a very large number of messages to be decrypted, can recover a CMS/PKCS7 transported encryption key or decrypt any RSA encrypted message that was encrypted with the public RSA key, using a Bleichenbacher padding oracle attack. Applications are not affected if they use a certificate together with the private RSA key to the CMS_decrypt or PKCS7_decrypt functions to select the correct recipient info to decrypt. Fixed in OpenSSL 1.1.1d (Affected 1.1.1-1.1.1c). Fixed in OpenSSL 1.1.0l (Affected 1.1.0-1.1.0k). Fixed in OpenSSL 1.0.2t (Affected 1.0.2-1.0.2s).", | ||
"Severity": "MEDIUM", | ||
"References": [ | ||
"http://packetstormsecurity.com/files/154467/Slackware-Security-Advisory-openssl-Updates.html", | ||
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-1563", | ||
"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=08229ad838c50f644d7e928e2eef147b4308ad64", | ||
"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=631f94db0065c78181ca9ba5546ebc8bb3884b97", | ||
"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=e21f8cf78a125cd3c8c0d1a1a6c8bb0b901f893f", | ||
"https://seclists.org/bugtraq/2019/Sep/25", | ||
"https://security.netapp.com/advisory/ntap-20190919-0002/", | ||
"https://www.openssl.org/news/secadv/20190910.txt" | ||
] | ||
}, | ||
{ | ||
"VulnerabilityID": "CVE-2019-1547", | ||
"PkgName": "openssl", | ||
"InstalledVersion": "1.0.2s-1.ph1", | ||
"FixedVersion": "1.0.2t-1.ph1", | ||
"Title": "openssl: side-channel weak encryption vulnerability", | ||
"Description": "Normally in OpenSSL EC groups always have a co-factor present and this is used in side channel resistant code paths. However, in some cases, it is possible to construct a group using explicit parameters (instead of using a named curve). In those cases it is possible that such a group does not have the cofactor present. This can occur even where all the parameters match a known named curve. If such a curve is used then OpenSSL falls back to non-side channel resistant code paths which may result in full key recovery during an ECDSA signature operation. In order to be vulnerable an attacker would have to have the ability to time the creation of a large number of signatures where explicit parameters with no co-factor present are in use by an application using libcrypto. For the avoidance of doubt libssl is not vulnerable because explicit parameters are never used. Fixed in OpenSSL 1.1.1d (Affected 1.1.1-1.1.1c). Fixed in OpenSSL 1.1.0l (Affected 1.1.0-1.1.0k). Fixed in OpenSSL 1.0.2t (Affected 1.0.2-1.0.2s).", | ||
"Severity": "LOW", | ||
"References": [ | ||
"http://packetstormsecurity.com/files/154467/Slackware-Security-Advisory-openssl-Updates.html", | ||
"https://arxiv.org/abs/1909.01785", | ||
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-1547", | ||
"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=21c856b75d81eff61aa63b4f036bb64a85bf6d46", | ||
"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=30c22fa8b1d840036b8e203585738df62a03cec8", | ||
"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=7c1709c2da5414f5b6133d00a03fc8c5bf996c7a", | ||
"https://seclists.org/bugtraq/2019/Sep/25", | ||
"https://security.netapp.com/advisory/ntap-20190919-0002/", | ||
"https://www.openssl.org/news/secadv/20190910.txt" | ||
] | ||
} | ||
] | ||
} | ||
] |
Oops, something went wrong.