-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b27
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8271937 | 15.0.5 | Alexey Bakhtin | P3 | Resolved | Fixed | b01 |
JDK-8272230 | 13.0.9 | Alexey Bakhtin | P3 | Resolved | Fixed | b01 |
JDK-8259883 | 11.0.12-oracle | Sean Coffey | P3 | Resolved | Fixed | b01 |
JDK-8264675 | 11.0.12 | Bradford Wetmore | P3 | Resolved | Fixed | b01 |
JDK-8265869 | openjdk8u302 | Martin Balao Alonso | P3 | Resolved | Fixed | b05 |
JDK-8259884 | 8u301 | Sean Coffey | P3 | Resolved | Fixed | b01 |
https://mail.openjdk.java.net/pipermail/security-dev/2020-October/022750.html
SunJSSE does not handle String conversion to byte[] well, and thus can't represent some of the GREASE values (RFC 8701: https://tools.ietf.org/rfcmarkup?doc=8701 )
For our implementation currently:
1. Client can't send valid GREASE values. We'll send a UTF-8 representation which won't be recognized by peers as GREASE.
2. Server shouldn't crash, but will not report to our API consumers that GREASE values were received.
[Update 11/24/2020-after further experimentation/bug fixing]
JSSE Client will send >0x7F bytes encoded as 2-4 UTF-8 bytes, which will only be recognized by JSSE peers. Other impls may not know how to decode.
For JSSE Server, there are two cases:
1. it can receive >0x7F either as 2-4 UTF-8 bytes (correct value returned in String to app), or
2. as an incorrectly formatted UTF-8. In that case, default "?" value returned to app.
For the first case, *IF* the server selects a ALPN value that contains a character with a >0x7F value, the app will crash when trying to create the ALPN extension reply.
Evaluate possible approaches.
- backported by
-
JDK-8259883 Better support ALPN byte wire values in SunJSSE
- Resolved
-
JDK-8259884 Better support ALPN byte wire values in SunJSSE
- Resolved
-
JDK-8264675 Better support ALPN byte wire values in SunJSSE
- Resolved
-
JDK-8265869 Better support ALPN byte wire values in SunJSSE
- Resolved
-
JDK-8271937 Better support ALPN byte wire values in SunJSSE
- Resolved
-
JDK-8272230 Better support ALPN byte wire values in SunJSSE
- Resolved
- csr for
-
JDK-8256817 Better support ALPN byte wire values in SunJSSE
- Closed
- relates to
-
JDK-8267860 Off-by-one bug when searching arrays in AlpnGreaseTest
- Resolved
- links to
-
Commit openjdk/jdk13u-dev/481b6f8f
-
Commit openjdk/jdk15u-dev/9e553f30
-
Commit openjdk/jdk/fe5cccc1
-
Review openjdk/jdk13u-dev/250
-
Review openjdk/jdk15u-dev/89
-
Review openjdk/jdk/1440