Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
jni/org_scalasbt_ipcsocket_JNIWin32NamedPipeLibraryProvider.c: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Auth Bypass: The creation of Windows Named Pipes with a null or permissive security descriptor allowed unauthorized local users to hijack or connect to the server socket. Restricting access to the current logon session SID is crucial to prevent privilege escalation.
Auth Bypass: Misaligned constant values in the JNI layer (such as LOGON_DACL) caused the native code to apply weaker or incorrect security descriptors than intended, bypassing local authentication boundaries.
File Descriptor Reuse Vulnerability: A race condition between closing a socket and accepting connections allowed the accept loop to run on a closed file descriptor that could have been re-allocated to a different resource, risking unauthorized data exposure or denial of service.