Skip to content

Unbound: 1.26.0 -> 1.26.1 - #564725

Merged
vcunat merged 1 commit into
NixOS:stagingfrom
xesxen:unbound-master
Sep 22, 2026
Merged

vcunat merged 1 commit into
NixOS:stagingfrom
xesxen:unbound-master

Conversation

@xesxen

@xesxen xesxen commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Bumped Unbound due to security release: https://nlnetlabs.nl/projects/unbound/security-advisories/

Things done

nixpkgs-branch-check[bot]

This comment was marked as outdated.

@nixpkgs-ci
nixpkgs-ci Bot requested a review from Scrumplex September 18, 2026 22:16
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. labels Sep 18, 2026
@xesxen
xesxen changed the base branch from master to staging September 18, 2026 22:18
@nixpkgs-ci nixpkgs-ci Bot closed this Sep 18, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this Sep 18, 2026
nixpkgs-branch-check[bot]

This comment was marked as outdated.

@xesxen

xesxen commented Sep 18, 2026

Copy link
Copy Markdown
Contributor Author

Changed base per bot comment, but given the CVSS 9.1 score this probably needs to be backported onto master and nixos-26.05

@nixpkgs-branch-check
nixpkgs-branch-check Bot dismissed stale reviews from themself September 18, 2026 22:28

Review dismissed automatically

@Scrumplex

Copy link
Copy Markdown
Member

Could change your commit message from Unbound: ... to unbound: ...

@Scrumplex Scrumplex linked an issue Sep 19, 2026 that may be closed by this pull request
@Scrumplex Scrumplex added 1.severity: security Issues which raise a security issue, or PRs that fix one backport staging-26.05 Backport PR automatically labels Sep 19, 2026
@vcunat
vcunat added this pull request to the merge queue Sep 22, 2026
Merged via the queue into NixOS:staging with commit e951f96 Sep 22, 2026
26 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for staging-26.05:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Sep 22, 2026
c-vigo added a commit to vig-os/devkit that referenced this pull request Sep 23, 2026
…lnix register

The nightly scan of 2026-09-23 (run 35844608653) went red on BOTH refs
with a single package: unbound 1.26.0. The NVD feed published
CVE-2026-81642 (9.8 CRITICAL) overnight -- a DNSKEY whose owner name is a
compression pointer into its own RDATA overflows the digest buffer in the
DNSSEC validator, giving DoS and possibly RCE.

Diagnosed as a FEED event, not a closure change, before writing the
entry: the previous night's scan (run 35711419780, 2026-09-22) was green
on BOTH lanes against the same closures -- the 2026-09-21 pin advance
(#1662) had already merged and been scanned green -- and the findings
delta across the two runs is 1 added, 0 removed, exactly one package on
each ref. No exception had expired either (the next grid date is
2026-09-30), so nothing in this repo caused it.

The "advance the rev" lever has nowhere to land today. nixos-26.05,
staging-26.05 and master ALL still ship 1.26.0 with no CVE-named patch.
Upstream fixed it in 1.26.1 (2026-09-16); the nixpkgs bump
(NixOS/nixpkgs#564725) merged to staging on 2026-09-22 and the
staging-26.05 backport (NixOS/nixpkgs#565869) opened the same day and is
still open, so the fix is two branch hops from the pinned channel.

Provenance was RE-VERIFIED against the built closure rather than carried
over from the 2026-07-26 unbound block's note, because that claim is what
justifies accepting a 9.8. `nix why-depends` on the runtime closure of
.#devkitImageEnv gives podman 5.8.6 -> gpgme 2.0.1 -> gnupg 2.4.9 ->
gnutls 3.8.13 -> unbound-1.26.0-lib; `nix path-info -r` reports the lib
output and nothing else; the env exposes no unbound executable; and
libgnutls-dane.so is the only gnutls library referencing libunbound. The
advisory's vector is a resolver digesting DNSKEYs from an
attacker-controlled zone, and this image ships no resolver at all.

Expires 2026-11-04, six weeks out and on its own Wednesday, so a stalled
review of one block cannot carry another. It should die on the advance
that ships unbound 1.26.1 rather than be renewed.

Verified against both refs' findings artifacts from the failing run:
vulnix-gate goes from 1 unexcepted HIGH/CRITICAL to 0 on dev and on main,
33 exceptions applied.

Refs: #1668, #1669
c-vigo added a commit to vig-os/devkit that referenced this pull request Sep 23, 2026
…-09-23 scan (#1670)

## Description

The nightly security scan of 2026-09-23 ([run
35844608653](https://github.com/vig-os/devkit/actions/runs/35844608653))
opened four issues at once: both scan lanes went red on an unexcepted
CRITICAL, and the T-7 expiry notice fired for the `2026-09-30` block.
This is one register problem, not four — `.vulnixignore` is
byte-identical on `main` and `dev`, so the four issues are two work
items across two refs.

Three commits, each with its own evidence.

## Type of Change

- [x] `fix` -- Bug fix

## Changes Made

### 1. Except the unbound DNSSEC-validator advisory (#1668 / #1669)

`CVE-2026-81642` (9.8 CRITICAL) — a DNSKEY whose owner name is a
compression pointer into its own RDATA overflows the digest buffer in
unbound's DNSSEC validator.

Diagnosed as a **feed event, not a closure change**, before writing the
entry: the 2026-09-22 nightly ([run
35711419780](https://github.com/vig-os/devkit/actions/runs/35711419780))
was green on **both** lanes against the same closures — the 2026-09-21
pin advance (#1662) had already merged and been scanned green — and the
delta across the two runs is **1 added / 0 removed**, exactly one
package per ref. No exception had expired.

The pin lever has nowhere to land: `nixos-26.05`, `staging-26.05`
**and** `master` all still ship 1.26.0 with no CVE-named patch. Upstream
fixed it in 1.26.1 (2026-09-16); the nixpkgs bump
([NixOS/nixpkgs#564725](NixOS/nixpkgs#564725))
merged to `staging` on 2026-09-22 and the `staging-26.05` backport
([NixOS/nixpkgs#565869](NixOS/nixpkgs#565869))
opened the same day and is still open — two branch hops away.

Provenance was **re-verified against the built closure**, not carried
over from the 2026-07-26 unbound block's note, because that claim is
what justifies accepting a 9.8:

```
nix why-depends (runtime closure of .#devkitImageEnv):
  devcontainer-image-env -> podman 5.8.6 -> gpgme 2.0.1 -> gnupg 2.4.9
    -> gnutls 3.8.13 -> unbound-1.26.0-lib
```

`nix path-info -r` reports the **`lib` output and nothing else**, the
env exposes no `unbound` executable, and `libgnutls-dane.so` is the only
gnutls library that references libunbound. The advisory's vector is a
*resolver* digesting DNSKEYs from an attacker-controlled zone; this
image ships no resolver at all. Expires `2026-11-04`.

### 2. Drop the 18 exceptions cleared by the four-package pin advance
(#1666 / #1667)

The weekly pin advance `21a67dc4` -> `6d663c05` (#1662) ships curl
8.22.0, openssl 3.6.4, libxml2 2.15.4 and pcre2 10.48. All three blocks
waiting on it named the **same** exit condition and shared **one** lever
— the `staging-next-26.05` iteration-7 PR
([NixOS/nixpkgs#563094](NixOS/nixpkgs#563094)),
which merged to `release-26.05` on 2026-09-19 — exactly the one branch
hop plus one weekly advance the 2026-09-16 re-date predicted.

Reconciled against the findings, not assumed: the `dev` lane no longer
reports curl, openssl, libxml2 or pcre2 **at all**, and diffing the
register against those findings leaves exactly these 18 entries with no
live match. Deleted rather than renewed, four to six weeks before their
`2026-10-21` / `2026-10-28` / `2026-11-04` expiries — the grid exists so
entries die on remediation.

### 3. Reconcile the 2026-09-30 block after online re-verification
(#1666 / #1667)

All five entries were accepted in the 2026-06-23 baseline triage with
*"specifics unverified offline"*. The notice forced the re-verification
it exists to force, and this time the data was available (NVD CPE
configurations, per-source CVSS, nixpkgs branch contents). **The block
does not survive as a block:**

| CVE | Package | Verdict |
|---|---|---|
| `CVE-2026-27820` | zlib 1.3.2 | **CPE mismatch** — moved to Class 1 |
| `CVE-2025-59777` / `-62689` | libmicrohttpd 1.0.2 | renewed ->
`2026-10-21` |
| `CVE-2026-11822` / `-11824` | sqlite 3.51.2 | renewed -> `2026-11-11`
|

**`CVE-2026-27820` is not this product.** It is a buffer overflow in the
Ruby **`zlib` gem** (`Zlib::GzipReader`, `zstream_buffer_ungets`). NVD's
only CPE is `cpe:2.3:a:ruby-lang:zlib:*:*:*:*:*:ruby:*:*` with
`target_sw=ruby`, affecting gem 3.0.0 and below / 3.1.0-3.1.1 /
3.2.0-3.2.1; vulnix matched the C zlib 1.3.2 only because **1.3.2 sorts
below 3.0.1**. This was the 9.8 of the set and the entry with the
weakest rationale ("reachable on any decompression path") — it is a
definitive false positive, so it moves to the Class 1 CPE-mismatch block
on the yearly re-check rather than being renewed as a risk acceptance.

The other four are real matches but **no longer share a Wednesday**,
because their levers are far apart and the stagger rule exists so a
stalled review of one cannot carry the other:

- **libmicrohttpd** — the two CVEs are the *same defect double-assigned*
(one NULL-pointer dereference, fix commit `ff13abc`, identical NVD
descriptions), both `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H` —
**pure availability**, no confidentiality or integrity. The server is
never started (podman -> systemd, systemd not PID 1), so there is no
listener for a crafted packet to reach. Closest lever: 1.0.2 -> 1.0.10
([NixOS/nixpkgs#563547](NixOS/nixpkgs#563547))
merged to `staging-26.05` on 2026-09-15, one hop out.
- **sqlite** — FTS5 memory corruption fixed in 3.53.2, scored by
VulnCheck with no NIST analyst entry, both `AV:L ... UI:R`: the attacker
must get a crafted database opened *and* MATCH-queried. Furthest lever:
`master` has 3.53.3, but `nixos-26.05` and `staging-26.05` both still
ship 3.51.2 with no 26.05 backport open.

Every per-entry note is rewritten to the verified vector, so the
register no longer carries a 9.8 justified by a guess.

### Net effect on the register

32 entries -> **15**, on six distinct Wednesdays (`2026-10-07`, `10-14`,
`10-21`, `11-04`, `11-11`, `2027-06-23`), with no two blocks sharing a
date.

## Changelog Entry

Three entries under `### Security` in `## Unreleased`, mirrored into
`assets/workspace/.devcontainer/CHANGELOG.md`:

- **Except the unbound DNSSEC-validator advisory in the vulnix
register** ([#1668](#1668),
[#1669](#1669))
- **Drop the 18 exceptions cleared by the four-package pin advance**
([#1666](#1666),
[#1667](#1667))
- **Reconcile the 2026-09-30 exception block after online
re-verification**
([#1666](#1666),
[#1667](#1667))

## Testing

- [x] Tests pass locally
- [x] Manual testing performed (described below)

### Manual Testing Details

`vulnix-gate` re-run locally against **both** refs' findings artifacts
from the failing run, which is the authoritative evidence:

```
# before
dev  -> 1 unexcepted: CVE-2026-81642 (9.8) in unbound 1.26.0
main -> 1 unexcepted: CVE-2026-81642 (9.8) in unbound 1.26.0

# after
dev  -> No unexcepted HIGH/CRITICAL findings (CVSS >= 7.0); 15 exception(s) applied
```

`check-expirations .trivyignore .vulnixignore` -> `Validated 15
exception(s) across 2 file(s)`.
`just precommit` (full `prek run --all-files`, both hook roots) ->
green.

Running the gate against the **`main`** artifact with this register
still reports the 18 curl/openssl/libxml2/pcre2 findings — expected and
correct: `main`'s closure is still pre-advance, and `main` keeps its own
copy of those blocks until a release train carries the pin and the
register over together.

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have updated the documentation accordingly — not needed;
`docs/CONTAINER_SECURITY.md` describes the doctrine, which is unchanged
- [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and
pasted the entry above)
- [x] My changes generate no new warnings or errors
- [ ] I have added tests that prove my fix is effective — register data,
not code; the evidence is the gate re-run above
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published

## Additional Notes

**`main` is not fixed by merging this PR**, and that matters before
2026-09-30.

`check-expirations` runs in all PR CI, in pre-commit, in both nightly
lanes **and** in the release train. The renewal here lands on `dev`;
`main` still carries `Expiration: 2026-09-30`, so from **Thursday
2026-10-01** every lane on `main` goes red. `dev` is 44 commits and 6
changelog entries ahead of `main` (last tag 1.15.1), so a 1.16.0 train
is due on content anyway — cutting it before 2026-09-30 is what closes
#1667 and #1669. If the train slips, the hotfix lane is the fallback.

#1668 / #1669 also stay open on the `main` side until a later scheduled
run passes the gate there, per their own closing condition.

Refs: #1666, #1667, #1668, #1669
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 8.has: package (update) This PR updates a package to a newer version 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. backport staging-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unbound: security issues < 1.26.1

3 participants