Skip to content

fix(deps): update module github.com/sigstore/rekor to v1.5.2 [security] (alauda-v0.65.0) - #170

Open
alaudaa-renovate[bot] wants to merge 1 commit into
alauda-v0.65.0from
renovate/alauda-v0.65.0-go-github.com-sigstore-rekor-vulnerability
Open

fix(deps): update module github.com/sigstore/rekor to v1.5.2 [security] (alauda-v0.65.0)#170
alaudaa-renovate[bot] wants to merge 1 commit into
alauda-v0.65.0from
renovate/alauda-v0.65.0-go-github.com-sigstore-rekor-vulnerability

Conversation

@alaudaa-renovate

@alaudaa-renovate alaudaa-renovate Bot commented Jul 4, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
github.com/sigstore/rekor v1.5.0 -> v1.5.2 age confidence

Rekor has an OOM Condition due to Unbounded gzip Decompression in Alpine APK Parsing Logic in github.com/sigstore/rekor

CVE-2026-48702 / GHSA-47q9-m4ww-924m / GO-2026-5778

More information

Details

Rekor has an OOM Condition due to Unbounded gzip Decompression in Alpine APK Parsing Logic in github.com/sigstore/rekor

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


Rekor has an OOM Condition due to Unbounded gzip Decompression in Alpine APK Parsing Logic

CVE-2026-48702 / GHSA-47q9-m4ww-924m / GO-2026-5778

More information

Details

Description

The Package.Unmarshal() function in pkg/types/alpine/apk.go decompresses the signature and control gzip members of an APK file into in-memory buffers without bounding the total decompressed size. The existing max_apk_metadata_size check (default 1MB) is only applied to individual tar entry header sizes after decompression completes, so it does not prevent a decompression bomb from consuming unbounded heap memory.

An attacker can craft a gzip stream that compresses at a ~1000:1 ratio (e.g., 2MB compressed zeros → 2GB decompressed). When submitted as spec.package.content in an Alpine ProposedEntry, the server decompresses the full payload into memory during request processing, triggering a fatal Go runtime out-of-memory error or OS OOM-kill that cannot be caught by the server's recover() middleware.

This is reachable via two unauthenticated endpoints:

  • POST /api/v1/log/entries (createLogEntry)
  • POST /api/v1/log/entries/retrieve (searchLogQuery)

Both invoke V001Entry.Canonicalize()fetchExternalEntities()apk.Unmarshal(packageData), which performs the unbounded decompression.

Workarounds

There is no effective workaround. Setting max_request_body_size reduces but does not eliminate exposure due to the ~1000:1 compression ratio (a 1MB body limit still allows ~1GB heap allocation). Setting max_apk_metadata_size has no effect on this vulnerability since the check is applied after decompression.

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

sigstore/rekor (github.com/sigstore/rekor)

v1.5.2

Compare Source

Features

  • Support restricting kinds on insertion (#​2814)

Bug Fixes

  • alpine: Enforce max size limit on decompression (#​2831)
  • fix(trillianclient): strip dns:/// scheme from TLS ServerName in gRPC dial (#​2812)
  • Fix internal error detail leakage in 500 responses (#​2801)
  • add checks to ensure returned entries match client inputs to rekor-cli (#​2799)
  • add defensive check to ensure tid is in config ahead of getting client (#​2795)
  • add nil pointer check to resolve fuzzing crash (#​2807)

Improvements

  • restapi: include inactiveShards in the homepage total count (#​2797)
  • client: surface last-response details after retries are exhausted (#​2796)

v1.5.1

Compare Source

Features

  • optimize memory for DSSE v0.0.1 processing (#​2766)

Bug Fixes

  • Type assert the entry bundle when verifying inclusion proof (#​2755)
  • return correct errors in rare failure situations (#​2753)
  • raise error if decoding hash fails during inclusion proof (#​2754)

Configuration

📅 Schedule: Branch creation - "" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@alaudaa-renovate alaudaa-renovate Bot added the dependencies Pull requests that update a dependency file label Jul 4, 2026
@alaudaa-renovate

Copy link
Copy Markdown
Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go mod tidy
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric@v1.42.0: verifying module: go.opentelemetry.io/otel/exporters/stdout/stdoutmetric@v1.42.0: Get "https://build-nexus.alauda.cn/repository/golang/sumdb/sum.golang.org/supported": dial tcp: lookup build-nexus.alauda.cn: i/o timeout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant