Closed Bug 2080006 Opened 1 month ago Closed 1 month ago

Update NSS to new version e396a4fc4383375fb81d4230ed8d65bfd29f0527 from 2026-10-08 17:15:25

Categories

(Core :: Security: PSM, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 2080380
Tracking Status
firefox160 --- affected

People

(Reporter: update-bot, Unassigned)

References

Details

(Whiteboard: [3pl-filed][task_id: T-gupg4BTe29tG_Fq6t4lw])

Attachments

(1 obsolete file)

This update covers 8 commits, including 3 new upstream commits I've never filed a bug on before. (They're the top 3.). Here are the overall diff statistics, and then the commit information.


security/nss/automation/abi-check/expected-report-libnss3.so.txt | 21 -
security/nss/automation/abi-check/expected-report-libnssutil3.so.txt | 14 -
security/nss/automation/abi-check/expected-report-libsmime3.so.txt | 52 --
security/nss/automation/abi-check/expected-report-libssl3.so.txt | 31 -
security/nss/automation/abi-check/previous-nss-release | 2 +-
security/nss/gtests/pk11_gtest/pk11_chacha20poly1305_unittest.cc | 40 +
security/nss/gtests/pk11_gtest/pk11_hpke_unittest.cc | 45 +
security/nss/gtests/smime_gtest/smime_unittest.cc | 55 ++
security/nss/gtests/ssl_gtest/ssl_keyupdate_unittest.cc | 23 +
security/nss/lib/base/arena.c | 114 ----
security/nss/lib/base/base.h | 138 -----
security/nss/lib/base/hash.c | 40 -
security/nss/lib/base/item.c | 27 -
security/nss/lib/base/libc.c | 27 -
security/nss/lib/base/list.c | 22 -
security/nss/lib/base/utf8.c | 222 ---------
security/nss/lib/certdb/alg1485.c | 85 ---
security/nss/lib/certdb/cert.h | 2 -
security/nss/lib/certdb/certdb.c | 29 +-
security/nss/lib/certdb/certi.h | 5 -
security/nss/lib/cryptohi/keyhi.h | 15 -
security/nss/lib/cryptohi/seckey.c | 150 ------
security/nss/lib/cryptohi/secsign.c | 15 -
security/nss/lib/dev/ckhelper.c | 49 --
security/nss/lib/dev/ckhelper.h | 18 -
security/nss/lib/dev/dev.h | 71 --
security/nss/lib/dev/devm.h | 12 -
security/nss/lib/dev/devslot.c | 30 -
security/nss/lib/dev/devtoken.c | 240 ----------
security/nss/lib/dev/devutil.c | 39 -
security/nss/lib/nss/nss.h | 6 +-
security/nss/lib/pk11wrap/dev3hack.c | 6 -
security/nss/lib/pk11wrap/dev3hack.h | 3 -
security/nss/lib/pk11wrap/pk11cert.c | 96 ----
security/nss/lib/pk11wrap/pk11cxt.c | 4 +
security/nss/lib/pk11wrap/pk11hpke.c | 6 +
security/nss/lib/pk11wrap/pk11obj.c | 42 -
security/nss/lib/pk11wrap/pk11pbe.c | 118 +----
security/nss/lib/pk11wrap/pk11priv.h | 5 -
security/nss/lib/pk11wrap/pk11util.c | 6 -
security/nss/lib/pk11wrap/secmodi.h | 4 -
security/nss/lib/pki/certificate.c | 181 -------
security/nss/lib/pki/nsspki.h | 173 -------
security/nss/lib/pki/pki.h | 12 -
security/nss/lib/pki/pkibase.c | 26 -
security/nss/lib/pki/pkim.h | 17 -
security/nss/lib/smime/cmsarray.c | 11 +-
security/nss/lib/smime/cmssigdata.c | 22 +-
security/nss/lib/softoken/softkver.h | 6 +-
security/nss/lib/ssl/tls13con.c | 5 +-
security/nss/lib/util/nssutil.h | 6 +-
security/nss/moz.yaml | 4 +-
52 files changed, 232 insertions(+), 2160 deletions(-)


e396a4fc4383375fb81d4230ed8d65bfd29f0527 by Charlotte <69423184+tqpcharlie@users.noreply.github.com>

https://github.com/mozilla/nss/commit/e396a4fc4383375fb81d4230ed8d65bfd29f0527
Authored: 2026-10-08 17:15:25 +0000
Committed: 2026-10-08 17:15:25 +0000

Bug 390374 - return NULL for deprecated PBE functions r=nss-reviewers,rrelyea,keeler

Differential Revision: https://phabricator.services.mozilla.com/D277661

Files Modified:

  • lib/pk11wrap/pk11pbe.c

b9283c1e4ee232b4450d36115272af670d38ec81 by Dennis Jackson <djackson@mozilla.com>

https://github.com/mozilla/nss/commit/b9283c1e4ee232b4450d36115272af670d38ec81
Authored: 2026-10-08 09:15:28 +0000
Committed: 2026-10-08 09:15:28 +0000

Bug 2061403 - Keep sigd->digests parallel to sigd->digestAlgorithms r=nss-reviewers,keeler

NSS_CMSArray_Add cannot append a NULL element to a NULL-terminated array, so
the placeholder added by NSS_CMSSignedData_AddDigest never extended
sigd->digests and the two arrays diverged in length. Grow sigd->digests
explicitly instead; the copy loop is bounded by the algorithm count, which is
the invariant this restores.

This also drops the companion-length check added in bug 2029797. It measured
the companion with NSS_CMSArray_Count, which stops at the first NULL, so it
misfired on the NULL placeholders that NSS_CMSSignedData_SetDigests and
NSS_CMSDigestContext_FinishMultiple legitimately produce and dropped
sigd->digests from the sort, leaving the digests mismatched with their
algorithms.

Differential Revision: https://phabricator.services.mozilla.com/D326866

Files Modified:

  • gtests/smime_gtest/smime_unittest.cc
  • lib/smime/cmsarray.c
  • lib/smime/cmssigdata.c

411674e536710bbb8ad0e1b256fe30ac1b85b034 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/411674e536710bbb8ad0e1b256fe30ac1b85b034
Authored: 2026-10-07 19:04:52 +0000
Committed: 2026-10-07 19:04:52 +0000

Bug 2076696 - guard against integer overflow in PK11_HPKE_Seal and PK11_HPKE_Open. r=nss-reviewers,nkulatova

Differential Revision: https://phabricator.services.mozilla.com/D330945

Files Modified:

  • gtests/pk11_gtest/pk11_hpke_unittest.cc
  • lib/pk11wrap/pk11hpke.c

ec7ffc51d715cfa1d588030fbed5fe545590f84f by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/ec7ffc51d715cfa1d588030fbed5fe545590f84f
Authored: 2026-10-07 19:04:04 +0000
Committed: 2026-10-07 19:04:04 +0000

Bug 2076037 - ensure chacha20-poly1305 tag buffer is 16 bytes in PK11_AEADOp. r=nss-reviewers,nkulatova

Differential Revision: https://phabricator.services.mozilla.com/D331451

Files Modified:

  • gtests/pk11_gtest/pk11_chacha20poly1305_unittest.cc
  • lib/pk11wrap/pk11cxt.c

58d723802784c6c92d655db13fe77cf38ef5335a by Dana Keeler <dkeeler@mozilla.com>

https://github.com/mozilla/nss/commit/58d723802784c6c92d655db13fe77cf38ef5335a
Authored: 2026-10-07 17:14:55 +0000
Committed: 2026-10-07 17:14:55 +0000

Bug 2077359 - remove more unused functions from NSS r=nss-reviewers,jschanck

Differential Revision: https://phabricator.services.mozilla.com/D330298

Files Modified:

  • lib/base/arena.c
  • lib/base/base.h
  • lib/base/hash.c
  • lib/base/item.c
  • lib/base/libc.c
  • lib/base/list.c
  • lib/base/utf8.c
  • lib/certdb/alg1485.c
  • lib/certdb/cert.h
  • lib/certdb/certdb.c
  • lib/certdb/certi.h
  • lib/cryptohi/keyhi.h
  • lib/cryptohi/seckey.c
  • lib/cryptohi/secsign.c
  • lib/dev/ckhelper.c
  • lib/dev/ckhelper.h
  • lib/dev/dev.h
  • lib/dev/devm.h
  • lib/dev/devslot.c
  • lib/dev/devtoken.c
  • lib/dev/devutil.c
  • lib/pk11wrap/dev3hack.c
  • lib/pk11wrap/dev3hack.h
  • lib/pk11wrap/pk11cert.c
  • lib/pk11wrap/pk11obj.c
  • lib/pk11wrap/pk11priv.h
  • lib/pk11wrap/pk11util.c
  • lib/pk11wrap/secmodi.h
  • lib/pki/certificate.c
  • lib/pki/nsspki.h
  • lib/pki/pki.h
  • lib/pki/pkibase.c
  • lib/pki/pkim.h

65b26c837ff1e4d7aa8cc928d1faf132085f3d8d by Anna <anna.weine@mozilla.com>

https://github.com/mozilla/nss/commit/65b26c837ff1e4d7aa8cc928d1faf132085f3d8d
Authored: 2026-10-07 16:13:12 +0000
Committed: 2026-10-07 16:13:12 +0000

Bug 1960284 - Don't report epoch exhaustion through FatalError r=crypto-reviewers,djackson

Differential Revision: https://phabricator.services.mozilla.com/D324235

Files Modified:

  • gtests/ssl_gtest/ssl_keyupdate_unittest.cc
  • lib/ssl/tls13con.c

940706e6f85676f9d3e65b02d297b16edd788506 by Dennis Jackson <djackson@mozilla.com>

https://github.com/mozilla/nss/commit/940706e6f85676f9d3e65b02d297b16edd788506
Authored: 2026-10-06 20:04:09 +0100
Committed: 2026-10-06 20:04:09 +0100

Set version numbers to 3.132 Beta

Files Modified:

  • automation/abi-check/expected-report-libnss3.so.txt
  • automation/abi-check/expected-report-libnssutil3.so.txt
  • automation/abi-check/expected-report-libsmime3.so.txt
  • automation/abi-check/expected-report-libssl3.so.txt
  • automation/abi-check/previous-nss-release
  • lib/nss/nss.h
  • lib/softoken/softkver.h
  • lib/util/nssutil.h

58f3a68f3ee1679046241c439eb55ccd562eebb0 by Dennis Jackson <djackson@mozilla.com>

https://github.com/mozilla/nss/commit/58f3a68f3ee1679046241c439eb55ccd562eebb0
Authored: 2026-10-06 20:04:05 +0100
Committed: 2026-10-06 20:04:05 +0100

Release notes for NSS 3.131

--HG--
extra : source : 698317f4eaacea2cf2461ec9854f80ac62cdddb9

Files Added:

  • doc/src/releases/nss_3_131.md

Files Modified:

  • doc/src/releases/index.md

It looks like we experienced one or more build failures when trying to apply this
update. You will need to apply this update manually; you can replicate the patch
locally with ./mach vendor security/nss/moz.yaml. I'm going to abandon the Phabricator patch and
let you submit a new one.

If the build failure wasn't caused by a library change, and was instead caused by
something structural in the build system please let my maintainers know in
Slack:#secinf.

I do my best to automatically add new files to the build, but some moz.build files
are complicated and you may need to fix them manually.

Flags: needinfo?(jschanck)
Attachment #9656469 - Attachment is obsolete: true

This bug is being closed because a newer revision of the library is available.
This bug will be marked as a duplicate of it (because although this bug is older, it is superseded by the newer one).

Status: NEW → RESOLVED
Closed: 1 month ago
Duplicate of bug: 2080380
Resolution: --- → DUPLICATE
Flags: needinfo?(jschanck)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: