openssl-0004 + uwsgi-0001: 2 new defects (500x/249x); all 10 missing whitepaper entries restored; count 590→592

This commit is contained in:
russell@unturf.com 2026-03-27 22:20:52 -04:00
parent 2e4f7807d5
commit 34e8d9212f
18 changed files with 1366 additions and 4 deletions

View file

@ -3,7 +3,7 @@ ba0de5d1546aa2971492f74616f13f47 full-paper.pdf
3fda5736a004c621f52701c92a7ca7f5 undefect-cwe407-2026-03-24.pdf
f076f22e9e70a94f51884562aad6fdc5 undefect-cwe407-2026-03-25.pdf
5da33a4087fdca81f70cce84656afc7f undefect-cwe407-2026-03-26.pdf
cc46c7ebb61d23a0c3e33cbe86977fd8 undefect-cwe407-2026-03-27.pdf
970436542c76677bfec39aa3b4bc47ca undefect-cwe407-2026-03-27.pdf
ff52abf9f47a7e6bb25e4519b1325090 undefect-minecraft-enterprise-java-2026-03-24.pdf
c7fe499eb004271b384a31ac01b38852 undefect-minecraft-enterprise-java-2026-03-25.pdf
818d29731df88333d29cfdd3eefeb3a2 undefect-minecraft-enterprise-java-2026-03-26.pdf

View file

@ -39,7 +39,7 @@ A single well-crafted implementation serves as the genetic blueprint.
4. **Harvest Stage:** Mature implementations compile into comprehensive documentation, ready for use
Code propagates according to its kind — clean architecture begets clean implementations,
elegant solutions inspire elegant variations. The process of generating 590 validated
elegant solutions inspire elegant variations. The process of generating 592 validated
defect patches across 240 ecosystems in a single research wave demonstrates how truth,
properly seeded, multiplies. Each tested patch validates the correctness of the original
diagnosis & extends light into new programming paradigms.
@ -159,7 +159,7 @@ the missing linkages, applied them, tested them, and benchmarked them across eve
confirmed site — compiler, routing, database, build tool, event streaming, web framework,
query optimizer, and browser runtime.
**590 sites patched. 3 deferred (PostgreSQL -0001/-0005; MongoDB -0005 IndexBounds).
**592 sites patched. 3 deferred (PostgreSQL -0001/-0005; MongoDB -0005 IndexBounds).
1 fixable-upstream (Erlang OTP). 1 fixable-pending (swipl-0003). 2 not-worth-fixing.
3 unpatched (Minecraft, Create mod). No language left behind.
@ -698,6 +698,7 @@ stacks, Spark schemas — this is the dominant build cost.
| openssl-0001 | OpenSSL | `ssl/ssl_ciph.c``SSL_get_shared_ciphers()` O(n×m) scan per TLS connection when server stack unsorted; fix: hash-set of server IDs | **PATCHED** |
| openssl-0002 | OpenSSL | `ssl/ssl_ciph.c``ciphersuite_cb` TLS 1.3 dedup O(n²) during config parsing; fix: bitmask on cipher table index | **PATCHED** |
| openssl-0003 | OpenSSL | `ssl/statem/extensions_srvr.c``tls_parse_ctos_use_srtp()` O(C×S) SRTP profile match; outer while over client IDs × inner for over server profiles; fix: 32-slot Knuth hash set | **PATCHED** |
| openssl-0004 | OpenSSL | `ssl/ssl_cert.c``add_uris_recursive()` `sk_X509_NAME_find()` O(N) unsorted stack scan per cert in URI store load loop; O(N²) total; sibling functions already use `LHASH_OF(X509_NAME)` — this one was missed; fix: pass LHASH down (500×) | **PATCHED** |
| mbedtls-0001 | mbedTLS | `library/ssl_tls.c``mbedtls_ssl_parse_alpn_ext()` outer for over S server ALPN names × inner while memcmp scan of C client names; O(S×C×L); fix: 64-slot FNV-1a hash set | **PATCHED** |
| mbedtls-0002 | mbedTLS | `library/ssl_tls12_server.c` — TLS 1.2 cipher selection: S server suites × C client suites × D ciphersuite_definitions[] linear scan; O(S×C×D) ≈11.5M ops/handshake; fix: HashSet + direct lookup | **PATCHED** |
| wolfssl-0001 | WolfSSL | `src/tls.c``TLSX_ALPN_GetRequest()` outer for over S server names × inner while over C client names; O(S×C) ALPN negotiation; fix: hash set of client names | **PATCHED** |
@ -755,6 +756,7 @@ stacks, Spark schemas — this is the dominant build cost.
| haproxy-0003 | HAProxy | `src/flt_spoe.c:2407,2508,2526``spoe_check_config` message/group resolution O(P×M) + O(P×G) + O(G×P×M) cubic; fix: `eb_root` before loops (70×) | **PATCHED** |
| nginx-0002 | nginx | `src/http/ngx_http_upstream.c:7107``hide_headers` dedup: O(H²) linear name comparison in config init; fix: `ngx_hash` (49×) | **PATCHED** |
| nginx-0003 | nginx | `src/http/ngx_http_variables.c:2802``ngx_http_variables_init_vars` O(V×K) `ngx_strncmp` per indexed var during startup; fix: `ngx_hash_t` before loop (56×) | **PATCHED** |
| uwsgi-0001 | uWSGI | `proto/http.c:417` + `plugins/http/http.c:778` + `plugins/http/spdy3.c:207``uwsgi_string_list_has_item()` O(H) linked-list walk per header in 3 request parsers; O(H²) total; fix: 256-slot stack-allocated open-address hash set (249×) | **PATCHED** |
| traefik-0001 | Traefik | `pkg/middlewares/forwardedheaders/forwarded_header.go:229``slices.Contains(xHeaders)` O(H) per request forwarded-header check; fix: `map[string]struct{}` (20×) | **PATCHED** |
| traefik-0002 | Traefik | `pkg/observability/tracing/tracing.go:230``slices.Contains(safeQueryParams)` O(Q×P) per-request URL redaction; fix: `map[string]struct{}` (20×) | **PATCHED** |
| traefik-0003 | Traefik | `pkg/config/runtime/runtime_http.go:30``slices.Contains(entryPoints)` O(R×E) per router in config loading; fix: pre-build `map[string]bool` (20×) | **PATCHED** |
@ -870,7 +872,7 @@ where D is the depth of the diamond chain. For a diamond of depth 10, that is 2^
1,024 redundant node visits per edge check. Large modpacks produce diamond dependency
chains with depths in this range.
**590 sites patched. 3 deferred (PostgreSQL -0001/-0005; MongoDB -0005 IndexBounds). 1 fixable-upstream (Erlang OTP — sltab patch). 1 fixable-pending (swipl-0003 attr_unify_hook). 2 not-worth-fixing. 3 unpatched (Minecraft, Create mod). 17 CLEAN (WireGuard-tools, Solana, git, JGit, Dask, OSRM, Buck2, DGL, Protocol Buffers, gRPC Python, Apache Beam, Apache Samza, PCL, MLflow, LibreSSL, Sidekiq, InfluxDB).**
**592 sites patched. 3 deferred (PostgreSQL -0001/-0005; MongoDB -0005 IndexBounds). 1 fixable-upstream (Erlang OTP — sltab patch). 1 fixable-pending (swipl-0003 attr_unify_hook). 2 not-worth-fixing. 3 unpatched (Minecraft, Create mod). 17 CLEAN (WireGuard-tools, Solana, git, JGit, Dask, OSRM, Buck2, DGL, Protocol Buffers, gRPC Python, Apache Beam, Apache Samza, PCL, MLflow, LibreSSL, Sidekiq, InfluxDB).**
---