NSS should send an alert when it receives a zero-length record
Categories
(NSS :: Libraries, defect)
Tracking
(Not tracked)
People
(Reporter: briansmith, Unassigned)
References
Details
Attachments
(1 obsolete file)
Comment 1•16 years ago
|
||
Comment 2•16 years ago
|
||
| Reporter | ||
Comment 3•16 years ago
|
||
Comment 4•16 years ago
|
||
Updated•16 years ago
|
| Reporter | ||
Comment 5•16 years ago
|
||
| Reporter | ||
Comment 6•16 years ago
|
||
| Reporter | ||
Updated•16 years ago
|
| Reporter | ||
Comment 7•16 years ago
|
||
| Reporter | ||
Comment 8•16 years ago
|
||
Comment 9•14 years ago
|
||
| Reporter | ||
Updated•12 years ago
|
Updated•4 years ago
|
Comment 10•4 years ago
|
||
For TLS 1.3, RFC8446 only specifies sending of alerts and termination of the session on InnerPlaintext.length of zero, but does not specify action for zero-length fragments while saying they SHOULD not be sent.
[RFC8446, Section 5.4]:
Implementations MUST NOT send Handshake and Alert records that have a zero-length
TLSInnerPlaintext.content; if such a message is received, the
receiving implementation MUST terminate the connection with an
"unexpected_message" alert.
[RFC8446, Section 5.1]:
Implementations MUST NOT send zero-length fragments of Handshake
types, even if those fragments contain padding.
D141841 adds alerts and checks for detection of InnerPlaintext.length == 0 records. It also adds test cases for the expected behavior of zero-length fragment records for coverage.
https://hg.mozilla.org/projects/nss/rev/144c87accae8ac9e60946c7684cb378880a921a0
Description
•