Skip to content

Tracking: programs embedding CA certificates #576475

Open
0 of 4 issues completed
Open

Description

@zimbatm

Sub-part of #576485

With CVE-2026-111943 / https://emudhra.we-have-a-problem.com/ https://bugzilla.mozilla.org/show_bug.cgi?id=2083449, we have to figure out a way to rotate certificates in all the packages.

The best posture would be for nixpkgs to have a single package / certificate list to update.

I wanted to check how many packages bundle the certificates and need to be patched manually. This list was generated using this scanner: https://github.com/zimbatm/nix-cacert-scan

Tracking

The list is split into one issue per category. Tick entries and link PRs there. "Ticked" counts entries with a PR or with no change needed, as of 2026-11-09.

Category Packages Ticked Fix Tracking
Vendored PEM bundle 95 66 Symlink the file to ${cacert}/etc/ssl/certs/ca-bundle.crt, or point the program at it #576541
Bundle inside a wheel, jar or zip 88 14 Patch the bundle inside the archive at build time, or make the code use the system store #576542
Java keystore 37 28 Generate the keystore from ${cacert} at build time (jre-generate-cacerts) #576543
Compiled into a binary 663 51 Make the program use the system store, or bump the embedded root list #576544
Total 883 159

Sub-issues

Sub-issues

0 of 4 Issues completed
Loading 4 sub-issues

Activity

  1. added
    1.severity: security
    3.skill: sprintable
    9.needs: clean-up
    5.scope: tracking
    on Oct 20, 2026
  2. ethancedwards8 commented on Oct 20, 2026

    @ethancedwards8
    Member

    Any way we can steal ideas from #537108 and create a hook or something to prevent the vendoring of cacert?

  3. RossSmyth commented on Oct 20, 2026

    @RossSmyth
    Contributor

    Yeah probably. This is more than just Rust though and should be something like no-broken-symlinks that checks that the derivation doesn't have anything in it

  4. bengsparks commented on Oct 20, 2026

    @bengsparks
  5. Gordon01 commented on Oct 20, 2026

    @Gordon01
    Contributor

    6. I believe #576471 fixed uv as per https://github.com/astral-sh/uv/releases/tag/0.13.4
    Please set the tick for me 😄

    see

    My proposal:

    Go trough this list of packages, and fix it so cacerts is passed as an argument.

  6. zimbatm commented on Oct 20, 2026

    @zimbatm
    MemberAuthor

    split it into 4 tickets to simplify tracking

  7. changed the title [-]tree-wide: programs embedding CA certificates[/-] [+]Tracking: programs embedding CA certificates[/+] on Oct 21, 2026
  8. n0099 commented on Oct 21, 2026

    @n0099
    Contributor
  9. zimbatm commented on Oct 21, 2026

    @zimbatm
    MemberAuthor

    Does GHSA-vxcg-jvmf-23hg related to this? https://issues.chromium.org/issues/503719488 seems just a Chromium bug.

    It seems unrelated.

    CVE-2026-111943 and https://bugzilla.mozilla.org/show_bug.cgi?id=2083449 should be linked instead.

    Updated the top ticket, also with a ref back to the meta ticket.

  10. RossSmyth commented on Oct 21, 2026

    @RossSmyth
    Contributor
  11. added a commit that references this issue on Oct 21, 2026
  12. arianvp commented on Oct 28, 2026

    @arianvp
    Member

    It this a good moment where we all rally together to solve one of the oldest open issues in our repo?

    #8247

    Seems highly relevant

  13. dotlambda commented on Nov 10, 2026

    @dotlambda
    Member

    Please take a look at #578494.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.severity: security3.skill: sprintable5.scope: tracking9.needs: clean-up

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions