ubuntu-cve-2023-33202
Vulnerability from osv_ubuntu
Published
2023-11-23 16:15
Modified
2026-03-19 05:04
Summary
Details

Bouncy Castle for Java before 1.73 contains a potential Denial of Service (DoS) issue within the Bouncy Castle org.bouncycastle.openssl.PEMParser class. This class parses OpenSSL PEM encoded streams containing X.509 certificates, PKCS8 encoded keys, and PKCS7 objects. Parsing a file that has crafted ASN.1 data through the PEMParser causes an OutOfMemoryError, which can enable a denial of service attack. (For users of the FIPS Java API: BC-FJA 1.0.2.3 and earlier are affected; BC-FJA 1.0.2.4 is fixed.)


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libbcmail-java",
            "binary_version": "1.51-4ubuntu1+esm1"
          },
          {
            "binary_name": "libbcpg-java",
            "binary_version": "1.51-4ubuntu1+esm1"
          },
          {
            "binary_name": "libbcpkix-java",
            "binary_version": "1.51-4ubuntu1+esm1"
          },
          {
            "binary_name": "libbcprov-java",
            "binary_version": "1.51-4ubuntu1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "bouncycastle",
        "purl": "pkg:deb/ubuntu/bouncycastle@1.51-4ubuntu1+esm1?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.49+dfsg-3ubuntu1",
        "1.51-4ubuntu1",
        "1.51-4ubuntu1+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libbcmail-java",
            "binary_version": "1.59-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libbcpg-java",
            "binary_version": "1.59-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libbcpkix-java",
            "binary_version": "1.59-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libbcprov-java",
            "binary_version": "1.59-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "bouncycastle",
        "purl": "pkg:deb/ubuntu/bouncycastle@1.59-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.57-1",
        "1.58-1",
        "1.59-1",
        "1.59-1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libbcmail-java",
            "binary_version": "1.61-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libbcpg-java",
            "binary_version": "1.61-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libbcpkix-java",
            "binary_version": "1.61-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libbcprov-java",
            "binary_version": "1.61-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "bouncycastle",
        "purl": "pkg:deb/ubuntu/bouncycastle@1.61-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.61-1",
        "1.61-1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libbcmail-java",
            "binary_version": "1.68-5ubuntu0.1~esm1"
          },
          {
            "binary_name": "libbcpg-java",
            "binary_version": "1.68-5ubuntu0.1~esm1"
          },
          {
            "binary_name": "libbcpkix-java",
            "binary_version": "1.68-5ubuntu0.1~esm1"
          },
          {
            "binary_name": "libbcprov-java",
            "binary_version": "1.68-5ubuntu0.1~esm1"
          },
          {
            "binary_name": "libbctls-java",
            "binary_version": "1.68-5ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "bouncycastle",
        "purl": "pkg:deb/ubuntu/bouncycastle@1.68-5ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.68-2",
        "1.68-4",
        "1.68-5",
        "1.68-5ubuntu0.1~esm1"
      ]
    }
  ],
  "aliases": [],
  "details": "Bouncy Castle for Java before 1.73 contains a potential Denial of Service (DoS) issue within the Bouncy Castle org.bouncycastle.openssl.PEMParser class. This class parses OpenSSL PEM encoded streams containing X.509 certificates, PKCS8 encoded keys, and PKCS7 objects. Parsing a file that has crafted ASN.1 data through the PEMParser causes an OutOfMemoryError, which can enable a denial of service attack. (For users of the FIPS Java API: BC-FJA 1.0.2.3 and earlier are affected; BC-FJA 1.0.2.4 is fixed.)",
  "id": "UBUNTU-CVE-2023-33202",
  "modified": "2026-03-19T05:04:16Z",
  "published": "2023-11-23T16:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-33202"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/bcgit/bc-java/wiki/CVE-2023-33202"
    },
    {
      "type": "REPORT",
      "url": "https://bouncycastle.org"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-33202"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2023-33202"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…