Closed
Bug 1986352
Opened 11 months ago
Closed 8 months ago
Assertion failure: tmpEchInner, at ../../lib/ssl/tls13ech.c:2359
Categories
(NSS :: Libraries, defect, P3)
NSS
Libraries
Tracking
(firefox-esr115 wontfix, firefox-esr140 wontfix, firefox145 wontfix, firefox146 wontfix, firefox147 fixed)
People
(Reporter: mdauer, Assigned: djackson)
References
(Blocks 1 open bug)
Details
(Keywords: sec-other, Whiteboard: [adv-main147-] [adv-esr140.7-])
Attachments
(2 files)
OSS-Fuzz: https://oss-fuzz.com/testcase-detail/5304540506423296
Details
The assertion was added in a10493dcfcc92cb9bad985b151325238b6e38b09 as part of Bug 1654332. If tmpEchInner is NULL, it will lead to a null pointer dereference later on:
PORT_Assert(tmpEchInner);
PORT_Assert(!PR_CLIST_IS_EMPTY(&ss->ssl3.hs.remoteExtensions));
/* Start over on ECHInner */
b = tmpEchInner->data;
length = tmpEchInner->len;
rv = ssl3_HandleClientHelloPreamble(ss, &b, &length, &tmpSid,
&tmpCookie, &tmpSuites, &tmpComps);
if (rv != SECSuccess) {
goto loser; /* code set, alert sent. */
}
Note that this was found with UNSAFE_FUZZER_MODE enabled.
To reproduce, perform the following steps:
- Build NSS with
./build.sh -c --fuzz=tls --disable-tests - Run
/path/to/dist/Debug/bin/nssfuzz-tls-server /path/to/testcase
Updated•9 months ago
|
Severity: -- → S2
Priority: -- → P1
| Assignee | ||
Updated•9 months ago
|
Priority: P1 → P3
| Assignee | ||
Comment 1•8 months ago
|
||
| Assignee | ||
Updated•8 months ago
|
Assignee: nobody → djackson
Pushed by djackson@mozilla.com:
https://hg.mozilla.org/projects/nss/rev/0b4ff563fbfb
Make sure we don't accept ECH if the HRR cookie is ill-formatted. r=nss-reviewers,jschanck
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Updated•8 months ago
|
Group: crypto-core-security → core-security-release
Updated•8 months ago
|
status-firefox145:
--- → wontfix
status-firefox146:
--- → wontfix
status-firefox147:
--- → fixed
status-firefox-esr115:
--- → wontfix
Updated•7 months ago
|
QA Whiteboard: [sec] [qa-triage-done-c148/b147]
Updated•6 months ago
|
Whiteboard: [adv-main147-] [adv-esr140.7-]
Updated•3 months ago
|
Updated•2 months ago
|
Group: core-security-release
You need to log in
before you can comment on or make changes to this bug.
Description
•