-
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.
feat(rocky): support Rocky Linux (#1570)
Co-authored-by: knqyf263 <knqyf263@gmail.com>
- Loading branch information
Showing
20 changed files
with
488 additions
and
6 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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
- bucket: rocky 8 | ||
pairs: | ||
- bucket: openssl-libs | ||
pairs: | ||
- key: CVE-2021-3712 | ||
value: | ||
FixedVersion: 1:1.1.1k-5.el8_5 |
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 |
---|---|---|
@@ -0,0 +1,118 @@ | ||
{ | ||
"SchemaVersion": 2, | ||
"ArtifactName": "testdata/fixtures/images/rockylinux-8.tar.gz", | ||
"ArtifactType": "container_image", | ||
"Metadata": { | ||
"OS": { | ||
"Family": "rocky", | ||
"Name": "8.5" | ||
}, | ||
"ImageID": "sha256:210996f98b856d7cd00496ddbe9412e73f1c714c95de09661e07b4e43648f9ab", | ||
"DiffIDs": [ | ||
"sha256:65dbea0a4b39709e0a2cc8624fd99478e9f302c0a5661d7676d6d3bd3cb6d181" | ||
], | ||
"ImageConfig": { | ||
"architecture": "amd64", | ||
"container": "16458df10693f731fae0492f791a5e4b725245c35cf28c7fca00982219d7bdf3", | ||
"created": "2021-12-15T20:22:37.180885096Z", | ||
"docker_version": "20.10.7", | ||
"history": [ | ||
{ | ||
"created": "2021-12-15T20:22:36Z", | ||
"created_by": "/bin/sh -c #(nop) ADD file:790b4c6a174560d4701baf59e884e7d07f50f0e193e545d6d5ed1d7390979d1a in / " | ||
}, | ||
{ | ||
"created": "2021-12-15T20:22:37Z", | ||
"created_by": "/bin/sh -c #(nop) CMD [\"/bin/bash\"]", | ||
"empty_layer": true | ||
} | ||
], | ||
"os": "linux", | ||
"rootfs": { | ||
"type": "layers", | ||
"diff_ids": [ | ||
"sha256:65dbea0a4b39709e0a2cc8624fd99478e9f302c0a5661d7676d6d3bd3cb6d181" | ||
] | ||
}, | ||
"config": { | ||
"Cmd": [ | ||
"/bin/bash" | ||
], | ||
"Env": [ | ||
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | ||
], | ||
"Image": "sha256:b3d7893772a2427ad53224d9db4c70be399de0a28c09804ac0c5cb203ab0244e" | ||
} | ||
} | ||
}, | ||
"Results": [ | ||
{ | ||
"Target": "testdata/fixtures/images/rockylinux-8.tar.gz (rocky 8.5)", | ||
"Class": "os-pkgs", | ||
"Type": "rocky", | ||
"Vulnerabilities": [ | ||
{ | ||
"VulnerabilityID": "CVE-2021-3712", | ||
"PkgName": "openssl-libs", | ||
"InstalledVersion": "1:1.1.1k-4.el8", | ||
"FixedVersion": "1:1.1.1k-5.el8_5", | ||
"Layer": { | ||
"DiffID": "sha256:65dbea0a4b39709e0a2cc8624fd99478e9f302c0a5661d7676d6d3bd3cb6d181" | ||
}, | ||
"SeveritySource": "rocky", | ||
"PrimaryURL": "https://avd.aquasec.com/nvd/cve-2021-3712", | ||
"Title": "openssl: Read buffer overruns processing ASN.1 strings", | ||
"Description": "ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a strict requirement, ASN.1 strings that are parsed using OpenSSL's own \"d2i\" functions (and other similar parsing functions) as well as any string whose value has been set with the ASN1_STRING_set() function will additionally NUL terminate the byte array in the ASN1_STRING structure. However, it is possible for applications to directly construct valid ASN1_STRING structures which do not NUL terminate the byte array by directly setting the \"data\" and \"length\" fields in the ASN1_STRING array. This can also happen by using the ASN1_STRING_set0() function. Numerous OpenSSL functions that print ASN.1 data have been found to assume that the ASN1_STRING byte array will be NUL terminated, even though this is not guaranteed for strings that have been directly constructed. Where an application requests an ASN.1 structure to be printed, and where that ASN.1 structure contains ASN1_STRINGs that have been directly constructed by the application without NUL terminating the \"data\" field, then a read buffer overrun can occur. The same thing can also occur during name constraints processing of certificates (for example if a certificate has been directly constructed by the application instead of loading it via the OpenSSL parsing functions, and the certificate contains non NUL terminated ASN1_STRING structures). It can also occur in the X509_get1_email(), X509_REQ_get1_email() and X509_get1_ocsp() functions. If a malicious actor can cause an application to directly construct an ASN1_STRING and then process it through one of the affected OpenSSL functions then this issue could be hit. This might result in a crash (causing a Denial of Service attack). It could also result in the disclosure of private memory contents (such as private keys, or sensitive plaintext). Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k). Fixed in OpenSSL 1.0.2za (Affected 1.0.2-1.0.2y).", | ||
"Severity": "MEDIUM", | ||
"CweIDs": [ | ||
"CWE-125" | ||
], | ||
"CVSS": { | ||
"nvd": { | ||
"V2Vector": "AV:N/AC:M/Au:N/C:P/I:N/A:P", | ||
"V3Vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H", | ||
"V2Score": 5.8, | ||
"V3Score": 7.4 | ||
}, | ||
"redhat": { | ||
"V3Vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H", | ||
"V3Score": 7.4 | ||
} | ||
}, | ||
"References": [ | ||
"http://www.openwall.com/lists/oss-security/2021/08/26/2", | ||
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3712", | ||
"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=94d23fcff9b2a7a8368dfe52214d5c2569882c11", | ||
"https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=ccb0a11145ee72b042d10593a64eaf9e8a55ec12", | ||
"https://kc.mcafee.com/corporate/index?page=content\u0026id=SB10366", | ||
"https://linux.oracle.com/cve/CVE-2021-3712.html", | ||
"https://linux.oracle.com/errata/ELSA-2021-9632.html", | ||
"https://lists.apache.org/thread.html/r18995de860f0e63635f3008fd2a6aca82394249476d21691e7c59c9e@%3Cdev.tomcat.apache.org%3E", | ||
"https://lists.apache.org/thread.html/rad5d9f83f0d11fb3f8bb148d179b8a9ad7c6a17f18d70e5805a713d1@%3Cdev.tomcat.apache.org%3E", | ||
"https://lists.debian.org/debian-lts-announce/2021/09/msg00014.html", | ||
"https://lists.debian.org/debian-lts-announce/2021/09/msg00021.html", | ||
"https://security.netapp.com/advisory/ntap-20210827-0010/", | ||
"https://ubuntu.com/security/notices/USN-5051-1", | ||
"https://ubuntu.com/security/notices/USN-5051-2", | ||
"https://ubuntu.com/security/notices/USN-5051-3", | ||
"https://ubuntu.com/security/notices/USN-5051-4 (regression only in trusty/esm)", | ||
"https://ubuntu.com/security/notices/USN-5088-1", | ||
"https://www.debian.org/security/2021/dsa-4963", | ||
"https://www.openssl.org/news/secadv/20210824.txt", | ||
"https://www.oracle.com/security-alerts/cpuoct2021.html", | ||
"https://www.tenable.com/security/tns-2021-16", | ||
"https://www.tenable.com/security/tns-2022-02", | ||
"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3712.json" | ||
], | ||
"PublishedDate": "2021-08-24T15:15:00Z", | ||
"LastModifiedDate": "2022-01-06T09:15:00Z" | ||
} | ||
] | ||
}, | ||
{ | ||
"Target": "Python", | ||
"Class": "lang-pkgs", | ||
"Type": "python-pkg" | ||
} | ||
] | ||
} |
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
Oops, something went wrong.