apache / apache/age

Security: Docker image contains Go binary vulnerable to CVE-2025-68121 (crypto/tls, CVSS 10.0)

Open
#2,357 2 comments 0 reactions 1 assignee Claimed by @jrgemignani View on GitHub
Dominant language
C
Stars
4.8k
Forks
523
Avg merge
1d 2h
Merged PRs (30d)
9

Description

DISCLAIMER: Created by Claude Sonnet 4.5

## Summary

The `apache/age` Docker images (including `release_PG18_1.7.0`, the latest release) are being flagged by container scanners for **CVE-2025-68121**, a critical vulnerability (CVSS 10.0) in Go's `crypto/tls` standard library.

## CVE Details

**CVE-2025-68121** — Go `crypto/tls` session resumption auth bypass

During TLS session resumption, if the underlying `Config` has its `ClientCAs` or `RootCAs` fields mutated between the initial and resumed handshake, the resumed handshake may succeed when it should have failed. This can allow certificate validation to be bypassed.

- **CVSS:** 10.0 (Critical)
- **Fixed in:** Go 1.24.13, Go 1.25.7, Go 1.26.0+
- **Published:** 2026-02-05

## Impact on apache/age Images

While Apache AGE is a C/SQL PostgreSQL extension, the Docker image ships with one or more Go-compiled binaries built against a vulnerable version of Go (< 1.24.13). Container scanners (Trivy, Docker Scout, etc.) detect the vulnerable Go build metadata embedded in the image and flag it.

## Requested Fix

Please rebuild and publish updated Docker images compiled against **Go ≥ 1.24.13** (or ≥ 1.25.7 if on the 1.25 series).

## References

- [NVD - CVE-2025-68121](https://nvd.nist.gov/vuln/detail/CVE-2025-68121)
- [Go issue tracker](https://github.com/golang/go/issues)
- [Docker Scout advisory](https://scout.docker.com/vulnerabilities/id/CVE-2025-68121)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.