fix: address CVEs - #29
Merged
Merged
Conversation
shipperizer
enabled auto-merge
September 15, 2026 11:10
- CVE-2026-69244: aiohttp upgraded to >=3.14.3 - CVE-2026-69247: cryptography upgraded to >=50.0.0 - CVE-2026-59939: httplib2 upgraded to >=0.32.0 - CVE-2026-59884, CVE-2026-59885, CVE-2026-59886: pyasn1 upgraded to >=0.6.4 - CVE-2026-54284, CVE-2026-59893, CVE-2026-71491: sqlparse upgraded to >=0.6.0 - CVE-2026-53877, CVE-2026-53878, CVE-2026-48588: django upgraded to >=5.2.16,<6.0 - CVE-2026-73228, CVE-2026-73229: djangorestframework upgraded to >=3.17.2 - CVE-2026-71554: h2 upgraded to >=4.4.1 - CVE-2026-45409: idna upgraded to >=3.15 - CVE-2026-59890: setuptools upgraded to >=83.0.0 - CVE-2026-56852, CVE-2026-56854: update Go x/ dependencies Fixes #25, #26
shipperizer
force-pushed
the
fix/cves
branch
from
September 15, 2026 11:14
d24381d to
8a05963
Compare
natalian98
approved these changes
Sep 15, 2026
Merged
shipperizer
added a commit
that referenced
this pull request
Sep 18, 2026
## Description This PR addresses remaining dependencies in `rockcraft.yaml` to ensure `authentik-server` is fully patched against security findings reported in #26: ### Changes in this PR 1. **`go-server` part**: - Added `go get -u github.com/klauspost/compress` to update to `>=v1.18.7` (addresses `GO-2026-5841`). - Added `go get -u go.opentelemetry.io/otel` to update to `>=v1.44.0` (addresses `GO-2026-5158`). 2. **`python-deps` part**: - Cleaned up `uv pip install` call by combining `--upgrade` and alphabetizing `PyJWT>=2.13.0` inline with other pinned packages. ### Context on #26 Vulnerabilities - **Python Dependencies**: The packages reported in #26 (`aiohttp`, `cryptography`, `httplib2`, `pyasn1`, `sqlparse`) were pinned on `main` via #29. A new rock build/release will update the published OCI image to resolve those findings. - **Go Standard Library**: The 8 Go stdlib vulnerabilities reported in `/usr/bin/authentik-server` (`CVE-2026-33818`, `CVE-2026-39821`, `CVE-2026-46600`, `CVE-2026-56853`, `CVE-2026-56858`, `CVE-2026-56859`, `CVE-2026-56860`, `CVE-2026-56862`) were fixed upstream in Go 1.26.6+. With `go/1.26/stable` currently providing Go 1.26.7, rebuilding the rock resolves these CVEs. ## Validation - **Go binary (`authentik-server`)**: Built with Go 1.26.7 and scanned with `govulncheck -mode=binary`; 0 vulnerabilities detected. - **Python venv**: Scanned with Trivy; 0 vulnerabilities detected. ### Govulncheck Result (`authentik-server`) ```text === Symbol Results === No vulnerabilities found. Your code is affected by 0 vulnerabilities. ``` ### Trivy Scan Result (Python Environment) ```text Report Summary ┌────────┬────────────┬─────────────────┬─────────┐ │ Target │ Type │ Vulnerabilities │ Secrets │ ├────────┼────────────┼─────────────────┼─────────┤ │ .venv │ python-pkg │ 0 │ - │ └────────┴────────────┴─────────────────┴─────────┘ Result: Clean (no security findings detected) ``` Fixes #26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR ensures that all Python and Go dependencies in
rockcraft.yamlare pinned/updated to address reported CVEs:python-deps:aiohttp>=3.14.3(CVE-2026-69244)cryptography>=50.0.0(CVE-2026-69247)django>=5.2.16,<6.0(CVE-2026-53877,CVE-2026-53878,CVE-2026-48588)djangorestframework>=3.17.2(CVE-2026-73228,CVE-2026-73229)h2>=4.4.1(CVE-2026-71554)httplib2>=0.32.0(CVE-2026-59939)idna>=3.15(CVE-2026-45409)msgpack>=1.2.1(GHSA-6v7p-g79w-8964)pyasn1>=0.6.4(CVE-2026-59884,CVE-2026-59885,CVE-2026-59886)PyJWT>=2.13.0(CVE-2026-32597,CVE-2026-48526)setuptools>=83.0.0(CVE-2026-59890)sqlparse>=0.6.0(CVE-2026-54284,CVE-2026-59893,CVE-2026-71491)urllib3>=2.7.0(CVE-2026-44431,CVE-2026-44432)go-server:go get -u golang.org/x/sysalongsidenet,text, andcrypto(CVE-2026-56852,CVE-2026-56854).Validation
Trivy Scan Result
Fixes #25, #26