The RFC 6528 initial sequence number (ISN) generator in the Zephyr TCP stack (subsys/net/ip/tcp.c, tcpv4_init_isn() / tcpv6_init_isn()) asked…
The RFC 6528 initial sequence number (ISN) generator in the Zephyr TCP stack (subsys/net/ip/tcp.c, tcpv4_init_isn() / tcpv6_init_isn()) asked psa_hash_compute() for a SHA-256 digest into a 16-byte buffer and ignored the return status. SHA-256 needs 32 bytes, so the call always failed with PSA_ERROR_BUFFER_TOO_SMALL. With the built-in Mbed TLS / TF-PSA-Crypto driver, the output buffer is filled with '!' on failure, so the keyed hash term was the constant 0x21212121. With other PSA drivers the term was uninitialized stack contents. In both cases the ISN no longer depends on the secret key or on the connection four-tuple. As a result, the ISN of every TCP connection (active and passive opens) w
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Zephyrproject
- Product
- zephyr
- CVSS v3.1
- 4.8 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
- Weakness
- CWE-252, CWE-330
- Exposure class
- Operating system
- NVD status
- Awaiting Analysis
Why it ranks 23 (Routine)
- CVSS v3.1 4.8 medium
- Product class: operating system
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.