CVE-2023-33199: Github.com/sigstore/rekor Malformed Proposed Intoto Entries Can Vulnerability

MODERATE
Advisory Identifier: GHSA-frqx-jfcm-6jjr
CVSS 5.3
CWE-617
Published
Advisory Summary

CVE-2023-33199 is a MODERATE (CVSS 5.3) malformed proposed intoto entries can vulnerability (CWE-617: Reachable Assertion) affecting Github.com/sigstore/rekor libraries in the Go ecosystem. The issue involves malformed proposed intoto entries can cause a panic. Remediation is available by upgrading affected packages to version 1.2.0.

CVE-2023-33199 at a Glance

CVE Identifier CVE-2023-33199
GHSA Identifier GHSA-frqx-jfcm-6jjr
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-617: Reachable Assertion
Affected Product Github.com/sigstore/rekor
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2023-33199

To remediate this vulnerability, upgrade all affected Github.com/sigstore/rekor dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/sigstore/rekor fixed: 1.2.0
Upgrade github.com/sigstore/rekor to 1.2.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/sigstore/rekor

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-33199, inspect your project dependencies for Github.com/sigstore/rekor:

inspect dependencies for github.com/sigstore/rekor

Analyze the terminal output to locate any version of Github.com/sigstore/rekor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-617: Reachable Assertion, where the product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary. In Github.com/sigstore/rekor, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact A malformed proposed entry of the `intoto/v0.0.2` type can cause a panic on a thread within the Rekor process. The thread is recovered so the client receives a 500 error message and service still continues, so the availability impact of this is minimal. ### Patches This is fixed in v1.2.0 of Rekor. ### Workarounds No ### References Discovered by OSS-Fuzz

CVE-2023-33199 Affected Github.com/sigstore/rekor Versions

1 component(s)
Fixed Versions:
1.2.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/sigstore/rekor
Go
< 1.2.0
1.2.0

References

Frequently Asked Questions

What is CVE-2023-33199?
CVE-2023-33199 is a security vulnerability in Github.com/sigstore/rekor involving malformed proposed intoto entries can cause a panic under CWE-617: Reachable Assertion.
Which Github.com/sigstore/rekor versions are affected?
Affected versions include releases prior to 1.2.0 across affected packages: github.com/sigstore/rekor.
What version fixes CVE-2023-33199?
Upgrading to 1.2.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/sigstore/rekor affected?
Yes, github.com/sigstore/rekor is affected in releases prior to 1.2.0. Upgrade your dependency to 1.2.0 or later.
What is the CVSS score of CVE-2023-33199?
CVE-2023-33199 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2023-33199?
CVE-2023-33199 is classified under CWE-617: Reachable Assertion (The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.).
How can I check Go dependencies for CVE-2023-33199?
Run the dependency tree command: 'inspect dependencies for github.com/sigstore/rekor'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-frqx-jfcm-6jjr",
  "modified" : "2023-05-26T19:39:03Z",
  "published" : "2023-05-26T19:39:03Z",
  "aliases" : [ "CVE-2023-33199" ],
  "summary" : "malformed proposed intoto entries can cause a panic",
  "details" : "### Impact\nA malformed proposed entry of the `intoto/v0.0.2` type can cause a panic on a thread within the Rekor process. The thread is recovered so the client receives a 500 error message and service still continues, so the availability impact of this is minimal.\n\n### Patches\nThis is fixed in v1.2.0 of Rekor.\n\n### Workarounds\nNo\n\n### References\nDiscovered by OSS-Fuzz",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/sigstore/rekor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sigstore/rekor/security/advisories/GHSA-frqx-jfcm-6jjr"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-33199"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sigstore/rekor/commit/140c5add105179e5ffd9e3e114fd1b6b93aebbd4"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/sigstore/rekor"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-617" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-05-26T19:39:03Z",
    "nvd_published_at" : "2023-05-26T23:15:18Z"
  }
}