{
  "SchemaVersion": 2,
  "CreatedAt": "2021-08-25T12:20:30.000000005Z",
  "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:36.373826081Z",
          "created_by": "/bin/sh -c #(nop) ADD file:790b4c6a174560d4701baf59e884e7d07f50f0e193e545d6d5ed1d7390979d1a in / "
        },
        {
          "created": "2021-12-15T20:22:37.180885096Z",
          "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",
          "PkgID": "openssl-libs@1.1.1k-4.el8.x86_64",
          "PkgName": "openssl-libs",
          "PkgIdentifier": {
            "PURL": "pkg:rpm/rocky/openssl-libs@1.1.1k-4.el8?arch=x86_64\u0026distro=rocky-8.5\u0026epoch=1",
            "UID": "2a2f49f9bf5fc512"
          },
          "InstalledVersion": "1:1.1.1k-4.el8",
          "FixedVersion": "1:1.1.1k-5.el8_5",
          "Status": "fixed",
          "Layer": {
            "Digest": "sha256:72a2451028f11c6927678e5f1bb8f35b4e723d3b342ec1a6980d7b5591cf81d6",
            "DiffID": "sha256:65dbea0a4b39709e0a2cc8624fd99478e9f302c0a5661d7676d6d3bd3cb6d181"
          },
          "SeveritySource": "rocky",
          "PrimaryURL": "https://avd.aquasec.com/nvd/cve-2021-3712",
          "DataSource": {
            "ID": "rocky",
            "Name": "Rocky Linux updateinfo",
            "URL": "https://download.rockylinux.org/pub/rocky/"
          },
          "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 represented 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"
          ],
          "VendorSeverity": {
            "alma": 2,
            "amazon": 2,
            "arch-linux": 3,
            "cbl-mariner": 3,
            "nvd": 3,
            "oracle-oval": 2,
            "photon": 3,
            "redhat": 2,
            "rocky": 2,
            "ubuntu": 2
          },
          "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://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3712.json",
            "https://access.redhat.com/security/cve/CVE-2021-3712",
            "https://crates.io/crates/openssl-src",
            "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-2022-9023.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://nvd.nist.gov/vuln/detail/CVE-2021-3712",
            "https://rustsec.org/advisories/RUSTSEC-2021-0098.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"
          ],
          "PublishedDate": "2021-08-24T15:15:00Z",
          "LastModifiedDate": "2022-01-06T09:15:00Z"
        }
      ]
    }
  ]
}
