Skip to content
Heist/ feed
Back to feed
High

rust-once-cell — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2019-16141

An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.

Products
rust-once-cell
Affected versions
0.1.8-3, 0.1.8-3build1, 1.18.0-1, 1.19.0-1, 1.2.0-3, 1.20.2-1, 1.21.3-1, 1.21.4-1, 1.3.1-1, 1.5.2-1, 1.8.0-1, 1.9.0-2
Fixed versions
Not specified
CVEs
CVE-2019-16141
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:33 UTC · Revision 1

Source evidence

UBUNTU-CVE-2019-16141

core-osv · Original source

Published 9 Sept 2019, 12:15 UTC

An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.

osv:UBUNTU-CVE-2019-16141

rust-once-cell

Fixed versions: Not specified

rust-once-cell

Fixed versions: Not specified

rust-once-cell

Fixed versions: Not specified

rust-once-cell

Fixed versions: Not specified

rust-once-cell

Fixed versions: Not specified

rust-once-cell

Fixed versions: Not specified

Complete source record
{
  "id": "1ef8ae63e490bfe243ed3fa509f6a0e3577faf990c76ecd03bd60d8490b14ce7",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-16141",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2019-16141",
    "summary": "An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.",
    "evidence": "osv:UBUNTU-CVE-2019-16141",
    "products": [
      {
        "name": {
          "value": "rust-once-cell",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.1.8-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.1.8-3build1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.0-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-once-cell",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.5.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.8.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.9.0-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-once-cell",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.18.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.19.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-once-cell",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.20.2-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-once-cell",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.21.3-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.21.4-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rust-once-cell",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.20.2-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.21.3-1",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2019-16141",
      "aliases": [
        "UBUNTU-CVE-2019-16141"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-once-cell",
            "purl": "pkg:deb/ubuntu/rust-once-cell?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.1.8-3",
            "0.1.8-3build1",
            "1.2.0-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16141.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-once-cell+parking-lot-dev",
                "binary_version": "1.2.0-3"
              },
              {
                "binary_name": "librust-once-cell-dev",
                "binary_version": "1.2.0-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-once-cell",
            "purl": "pkg:deb/ubuntu/rust-once-cell?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.3.1-1",
            "1.5.2-1",
            "1.8.0-1",
            "1.9.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16141.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-once-cell-dev",
                "binary_version": "1.9.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-once-cell",
            "purl": "pkg:deb/ubuntu/rust-once-cell?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.18.0-1",
            "1.19.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16141.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-once-cell-dev",
                "binary_version": "1.19.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-once-cell",
            "purl": "pkg:deb/ubuntu/rust-once-cell?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.20.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16141.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-once-cell-dev",
                "binary_version": "1.20.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-once-cell",
            "purl": "pkg:deb/ubuntu/rust-once-cell?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.21.3-1",
            "1.21.4-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16141.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-once-cell-dev",
                "binary_version": "1.21.4-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-once-cell",
            "purl": "pkg:deb/ubuntu/rust-once-cell?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.20.2-1",
            "1.21.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16141.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librust-once-cell-dev",
                "binary_version": "1.21.3-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:55:40.501444694Z",
      "provider": "osv",
      "upstream": [
        "CVE-2019-16141"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2019-16141",
        "https://rustsec.org/advisories/RUSTSEC-2019-0017.html",
        "https://github.com/matklad/once_cell/issues/46",
        "https://www.cve.org/CVERecord?id=CVE-2019-16141"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2019-16141",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 353966,
  "published_at": "2019-09-09T12:15:00+00:00"
}