Skip to content
Heist/ feed
Back to feed
Medium

golang-github-notaryproject-notation, golang-github-notaryproject-notation-go — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-56138

notion-go is a collection of libraries for supporting sign and verify OCI artifacts. Based on Notary Project specifications. This issue was identified during Quarkslab's audit of the timestamp feature. During the timestamp signature generation, the revocation status of the certificate(s) used to generate the timestamp signature was not verified. During timestamp signature generation, notation-go did not check the revocation status of the certificate chain used by the TSA. This oversight creates a vulnerability that could be exploited through a Man-in-The-Middle attack. An attacker could potentially use a compromised, intermediate, or revoked leaf certificate to generate a malicious countersignature, which would then be accepted and stored by `notation`. This could lead to denial of service scenarios, particularly in CI/CD environments during signature verification processes because timestamp signature would fail due to the presence of a revoked certificate(s) potentially disrupting operations. This issue has been addressed in release version 1.3.0-rc.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Products
golang-github-notaryproject-notation, golang-github-notaryproject-notation-go
Affected versions
1.2.0-4, 1.2.1-3, 1.2.1-4, 1.3.2-1, 1.3.2-1ubuntu0.26.04.1~esm1, 1.3.2-2, 1.3.2-3
Fixed versions
Not specified
CVEs
CVE-2024-56138
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:46 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-56138

core-osv · Original source

Published 13 Jan 2025, 22:15 UTC

notion-go is a collection of libraries for supporting sign and verify OCI artifacts. Based on Notary Project specifications. This issue was identified during Quarkslab's audit of the timestamp feature. During the timestamp signature generation, the revocation status of the certificate(s) used to generate the timestamp signature was not verified. During timestamp signature generation, notation-go did not check the revocation status of the certificate chain used by the TSA. This oversight creates a vulnerability that could be exploited through a Man-in-The-Middle attack. An attacker could potentially use a compromised, intermediate, or revoked leaf certificate to generate a malicious countersignature, which would then be accepted and stored by `notation`. This could lead to denial of service scenarios, particularly in CI/CD environments during signature verification processes because timestamp signature would fail due to the presence of a revoked certificate(s) potentially disrupting operations. This issue has been addressed in release version 1.3.0-rc.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

osv:UBUNTU-CVE-2024-56138

golang-github-notaryproject-notation

Fixed versions: Not specified

golang-github-notaryproject-notation-go

Fixed versions: Not specified

golang-github-notaryproject-notation

Fixed versions: Not specified

golang-github-notaryproject-notation-go

Fixed versions: Not specified

golang-github-notaryproject-notation-go

Fixed versions: Not specified

golang-github-notaryproject-notation

Fixed versions: Not specified

Complete source record
{
  "id": "43ab5835b5920b284a11701ed752fcbf037ffb41ee3b039f58ecfeeeaef5c718",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-56138",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-56138",
    "summary": "notion-go is a collection of libraries for supporting sign and verify OCI artifacts. Based on Notary Project specifications. This issue was identified during Quarkslab's audit of the timestamp feature. During the timestamp signature generation, the revocation status of the certificate(s) used to generate the timestamp signature was not verified. During timestamp signature generation, notation-go did not check the revocation status of the certificate chain used by the TSA. This oversight creates a vulnerability that could be exploited through a Man-in-The-Middle attack. An attacker could potentially use a compromised, intermediate, or revoked leaf certificate to generate a malicious countersignature, which would then be accepted and stored by `notation`. This could lead to denial of service scenarios, particularly in CI/CD environments during signature verification processes because timestamp signature would fail due to the presence of a revoked certificate(s) potentially disrupting operations. This issue has been addressed in release version 1.3.0-rc.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability.",
    "evidence": "osv:UBUNTU-CVE-2024-56138",
    "products": [
      {
        "name": {
          "value": "golang-github-notaryproject-notation",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.0-4",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-notaryproject-notation-go",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.1-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.2.1-4",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-notaryproject-notation",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.2-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.3.2-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-notaryproject-notation-go",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.2-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.3.2-3",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-notaryproject-notation-go",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.1-4",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.3.2-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.3.2-2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-notaryproject-notation",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.0-4",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.3.2-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.3.2-1ubuntu0.26.04.1~esm1",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2024-56138",
      "aliases": [
        "UBUNTU-CVE-2024-56138"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-notaryproject-notation",
            "purl": "pkg:deb/ubuntu/golang-github-notaryproject-notation?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.2.0-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56138.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-notaryproject-notation-dev",
                "binary_version": "1.2.0-4"
              },
              {
                "binary_name": "notation",
                "binary_version": "1.2.0-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-notaryproject-notation-go",
            "purl": "pkg:deb/ubuntu/golang-github-notaryproject-notation-go?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.2.1-3",
            "1.2.1-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56138.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-notaryproject-notation-go-dev",
                "binary_version": "1.2.1-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-notaryproject-notation",
            "purl": "pkg:deb/ubuntu/golang-github-notaryproject-notation?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.3.2-1",
            "1.3.2-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56138.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-notaryproject-notation-dev",
                "binary_version": "1.3.2-2"
              },
              {
                "binary_name": "notation",
                "binary_version": "1.3.2-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-notaryproject-notation-go",
            "purl": "pkg:deb/ubuntu/golang-github-notaryproject-notation-go?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.3.2-2",
            "1.3.2-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56138.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-notaryproject-notation-go-dev",
                "binary_version": "1.3.2-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-notaryproject-notation-go",
            "purl": "pkg:deb/ubuntu/golang-github-notaryproject-notation-go?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.2.1-4",
            "1.3.2-1",
            "1.3.2-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56138.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-notaryproject-notation-go-dev",
                "binary_version": "1.3.2-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-notaryproject-notation",
            "purl": "pkg:deb/ubuntu/golang-github-notaryproject-notation?arch=source&distro=esm-apps%2Fresolute",
            "ecosystem": "Ubuntu:Pro:26.04:LTS"
          },
          "versions": [
            "1.2.0-4",
            "1.3.2-1",
            "1.3.2-1ubuntu0.26.04.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56138.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-notaryproject-notation-dev",
                "binary_version": "1.3.2-1ubuntu0.26.04.1~esm1"
              },
              {
                "binary_name": "notation",
                "binary_version": "1.3.2-1ubuntu0.26.04.1~esm1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:57:24.850025798Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-56138"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-56138",
        "https://www.cve.org/CVERecord?id=CVE-2024-56138",
        "https://github.com/notaryproject/notation-go/commit/e7005a6d13e5ba472d4e166fbb085152f909e102",
        "https://github.com/notaryproject/notation-go/security/advisories/GHSA-45v3-38pc-874v"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-56138",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 357438,
  "published_at": "2025-01-13T22:15:00+00:00"
}