fphammerle
synced commits to claude/optimistic-euler-64goui at fphammerle/docker-borgbackup-sshd from mirror
2238f4b39f upgrade openssh-server package from v10.3_p1-r1 to v10.3_p1-r2
Relevant changes (https://git.alpinelinux.org/aports/log/main/openssh?h=3.24-stable):
- fix password authentication bypass (CVE-2026-123158), backported from upstream commit 90f9c2f7330b3b417b7d6202cd393ef3c226722c (https://git.alpinelinux.org/aports/commit/?h=3.24-stable&id=384e25e6bd1f2e7b30095900e48b570d46953510, https://git.alpinelinux.org/aports/commit/?h=3.24-stable&id=1d539b51c094bb2ea3ddaaa6a4b49d7ab64d22a0)
Is this image vulnerable to CVE-2026-123158?
The patch only changes how sshd verifies passwords against the stored password hash (`sys_auth_passwd()` in `auth-passwd.c`, `openbsd-compat/port-uw.c`, `openbsd-compat/xcrypt.c`); among other changes, it rejects stored hashes shorter than 4 characters. The upstream commit message states that the bypass "affects some configurations and runtime configurations". sshd only reaches this code through password-based authentication, and the image's `sshd_config` (https://github.com/fphammerle/docker-borgbackup-sshd/blob/c53fd03be9596b280649590b77f73482125253db/sshd_config) disables all of those paths:
- `PasswordAuthentication no` disables the `password` method. It also disables the empty-password check of the `none` method, which additionally requires `PermitEmptyPasswords yes` (default: no).
- `ChallengeResponseAuthentication no` is a deprecated alias for `KbdInteractiveAuthentication no` and disables `keyboard-interactive`.
- `UsePAM` keeps its default `no`, and Alpine's `openssh-server` package is built without PAM support (PAM is provided by the separate `openssh-server-pam` package), so PAM cannot re-enable password checks.
- `PubkeyAuthentication yes` is the only enabled method, and every key in `authorized_keys` is restricted to `borg serve` via `command=` and `restrict` (`entrypoint.sh`).
So containers using the image's `sshd_config` are not vulnerable. Deployments that bind-mount their own `sshd_config` with `PasswordAuthentication yes` or `KbdInteractiveAuthentication yes` may be vulnerable, depending on the `borg` user's password entry; this upgrade fixes them as well.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
c53fd03be9 Bump alpine from 3.24.2 to 3.24.3 (#137)
Bumps alpine from 3.24.2 to 3.24.3.
---
updated-dependencies:
- dependency-name: alpine
dependency-version: 3.24.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
706e2361cf upgrade borgbackup package from v1.4.4-r1 to v1.4.5-r0 & add AGENTS.md (#136)
https://github.com/borgbackup/borg/blob/06e3dcb2c733c8d2250e013c0abfb6c018742a00/docs/changes.rst#version-145-2026-07-19
Relevant changes for `borg serve`:
- hashindex: fixes for lookups in compacted hashtables, integer overflow on 32-bit systems (e.g. `linux/arm/v7`), empty indexes & resizing at max capacity
- LRUCache: resolve KeyError and memory leaks
- crypto.low_level: fix freeing of memory
- msgpack: also allow up to v1.2.1
Add AGENTS.md so agents follow the same conventions as in the other repositories, adapted from https://github.com/fphammerle/docker-postfix/blob/5ff954cdf45d109676d195595133c046e45a777d/AGENTS.md with the version pinning rule from https://github.com/fphammerle/docker-onion-service/blob/1063660ad10d0df41fbb4e4083fabd2c510998e5/AGENTS.md and the attribution reference from https://github.com/fphammerle/location-guessing-game-telegram-bot/blob/43f5d397c493a3e06ad314611e34b954ab22df6a/AGENTS.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
b7d809e3cf Bump docker/setup-buildx-action from 4.4.0 to 4.4.1 (#135)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v4.4.0...v4.4.1)
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-version: 4.4.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
226a0d2e54 Bump docker/setup-qemu-action from 4.3.0 to 4.4.0 (#134)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v4.3.0...v4.4.0)
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-version: 4.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- View comparison for these 10 commits »
1 day ago