Skip to content

[BEE-1343] Security fix service binary in localstack docker desktop - #109

Merged
jbeemster merged 2 commits into
mainfrom
bee-1343-security-fix-service-binary
Oct 14, 2026
Merged

jbeemster merged 2 commits into
mainfrom
bee-1343-security-fix-service-binary

Conversation

@jbeemster

Copy link
Copy Markdown
Contributor

Moves the builder from golang:1.25-alpine to golang:1.26-alpine. Go 1.25 is EOL and the floating tag is stuck at 1.25.14; the three flagged stdlib CVEs are only fixed in 1.26.9 / 1.27.2, so a rebuild alone no longer clears them. The tag stays floating on the 1.26 line so future stdlib CVEs keep self-healing on routine rebuilds.

CVE-2026-78667 net/http
CVE-2026-78669 net/http/internal/http2
CVE-2026-97031 crypto/tls

Bumps golang.org/x/net to v0.60.0, clearing CVE-2026-78669 in the module copy of http2. x/net@v0.60.0 requires go 1.26, which raises the go directive; x/crypto, x/sys and x/text move with it as MVS requirements.

Bumps TAG to 2026.10.0.

Verified with trivy: service gobinary goes from 5 HIGH to 1 HIGH. The remainder is CVE-2026-55677 against echo v3.3.10+incompatible, which has no fixed version for the v3 module path.

Moves the builder from golang:1.25-alpine to golang:1.26-alpine. Go 1.25 is
EOL and the floating tag is stuck at 1.25.14; the three flagged stdlib CVEs
are only fixed in 1.26.9 / 1.27.2, so a rebuild alone no longer clears them.
The tag stays floating on the 1.26 line so future stdlib CVEs keep
self-healing on routine rebuilds.

  CVE-2026-78667  net/http
  CVE-2026-78669  net/http/internal/http2
  CVE-2026-97031  crypto/tls

Bumps golang.org/x/net to v0.60.0, clearing CVE-2026-78669 in the module
copy of http2. x/net@v0.60.0 requires go 1.26, which raises the go directive;
x/crypto, x/sys and x/text move with it as MVS requirements.

Bumps TAG to 2026.10.0.

Verified with trivy: service gobinary goes from 5 HIGH to 1 HIGH. The
remainder is CVE-2026-55677 against echo v3.3.10+incompatible, which has no
fixed version for the v3 module path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jbeemster jbeemster self-assigned this Oct 14, 2026
@jbeemster
jbeemster requested a review from a team as a code owner October 14, 2026 08:12
@jbeemster

Copy link
Copy Markdown
Contributor Author
Report Summary

┌────────────────────────────────────────────────────────────────┬──────────┬─────────────────┐
│                             Target                             │   Type   │ Vulnerabilities │
├────────────────────────────────────────────────────────────────┼──────────┼─────────────────┤
│ localstack/localstack-docker-desktop:2026.10.0 (alpine 3.24.2) │  alpine  │        0        │
├────────────────────────────────────────────────────────────────┼──────────┼─────────────────┤
│ service                                                        │ gobinary │        1        │
└────────────────────────────────────────────────────────────────┴──────────┴─────────────────┘
Legend:
- '-': Not scanned
- '0': Clean (no security findings detected)


service (gobinary)

Total: 1 (HIGH: 1, CRITICAL: 0)

┌──────────────────────────┬────────────────┬──────────┬──────────┬──────────────────────┬───────────────┬──────────────────────────────────────────────────────────┐
│         Library          │ Vulnerability  │ Severity │  Status  │  Installed Version   │ Fixed Version │                          Title                           │
├──────────────────────────┼────────────────┼──────────┼──────────┼──────────────────────┼───────────────┼──────────────────────────────────────────────────────────┤
│ github.com/labstack/echo │ CVE-2026-55677 │ HIGH     │ affected │ v3.3.10+incompatible │               │ github.com/labstack/echo: Echo: Unauthorized Information │
│                          │                │          │          │                      │               │ Disclosure via URL Path Decoding Discrepancy             │
│                          │                │          │          │                      │               │ https://avd.aquasec.com/nvd/cve-2026-55677               │
└──────────────────────────┴────────────────┴──────────┴──────────┴──────────────────────┴───────────────┴──────────────────────────────────────────────────────────┘

One unfixable HIGH leftover but otherwise clean.

Comment thread CHANGELOG.md Outdated

### Changed

- Security update — clears CVE-2026-78667, CVE-2026-78669, CVE-2026-97031

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a quick thought on listing the exact CVE numbers...in general publishing specific vulnerability details can sometimes make it easier to target unpatched versions. Do you think we should generalize the wording here, or is there a reason we should specify them for this release?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the thing is you can just run trivy (oss) against any version of the public images and yield the same list? I am not sure there is much more security in obfuscation here but providing direct links might prompt people on the other hand to update where "Security update" might no be a lot of information.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, also probably does not matter in this case as I cannot think of any harm you could do with just the extension....Just looks a bit odd to say to the world "yo you can exploit this with my image" haha instead of letting them figure it out on it's own....but I'm also happy to let it merge like so 👍

security-rebuild.yml reads TAG from the Makefile as the currently published
version and scans that image, then bump-version.sh writes the new TAG and
CHANGELOG entry itself. A manual bump to 2026.10.0 would make it scan a tag
that was never published. Reverts the Makefile and CHANGELOG changes from the
previous commit; the workflow will produce the same 2026.10.0 entry on release.

Also updates the README's builder reference to golang:1.26-alpine.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jbeemster
jbeemster merged commit 6865c3a into main Oct 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants