Skip to content
Heist/ feed
Back to feed
MediumFix available

rust-openssl — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2023-53159

The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.

Products
rust-openssl
Affected versions
0.10.23-1, 0.10.29-1, 0.10.36-1
Fixed versions
0.10.23-1ubuntu0.1~esm1, 0.10.36-1ubuntu0.1~esm1
CVEs
CVE-2023-53159
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:14 UTC · Revision 1

Source evidence

UBUNTU-CVE-2023-53159

core-osv · Original source

Published 28 Jul 2025, 03:15 UTC

The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.

osv:UBUNTU-CVE-2023-53159

rust-openssl

Fixed versions: 0.10.23-1ubuntu0.1~esm1

rust-openssl

Fixed versions: 0.10.36-1ubuntu0.1~esm1

Complete source record
{
  "id": "a4b216676bad9b4b1769620cfbb042f4db3e3a2b0fb50b91f4362de4e5d91ef1",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-53159",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2023-53159",
    "summary": "The openssl crate before 0.10.55 for Rust allows an out-of-bounds read via an empty string to X509VerifyParamRef::set_host.",
    "evidence": "osv:UBUNTU-CVE-2023-53159",
    "products": [
      {
        "name": {
          "value": "rust-openssl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.10.23-1ubuntu0.1~esm1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.10.23-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-openssl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.10.36-1ubuntu0.1~esm1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.10.29-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.10.36-1",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2023-53159",
      "aliases": [
        "UBUNTU-CVE-2023-53159"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.10.23-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-openssl",
            "purl": "pkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "0.10.23-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-53159.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-openssl-dev",
                "binary_version": "0.10.23-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.10.36-1ubuntu0.1~esm1"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-openssl",
            "purl": "pkg:deb/ubuntu/rust-openssl?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "0.10.29-1",
            "0.10.36-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-53159.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-openssl-dev",
                "binary_version": "0.10.36-1ubuntu0.1~esm1"
              }
            ],
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
          }
        }
      ],
      "modified": "2026-10-27T04:15:24.720150982Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-53159"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2023-53159",
        "https://www.cve.org/CVERecord?id=CVE-2023-53159",
        "https://crates.io/crates/openssl",
        "https://github.com/sfackler/rust-openssl/issues/1965",
        "https://rustsec.org/advisories/RUSTSEC-2023-0044.html",
        "https://ubuntu.com/security/notices/USN-7891-1"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-53159",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 460164,
  "published_at": "2025-07-28T03:15:00+00:00"
}