Summary
NVIDIA OpenShell for Linux has an L7 REST policy enforcement flaw involving inconsistent interpretation of HTTP traffic. A local attacker with low privileges may bypass policy restrictions by sending cleartext HTTP/2 over an HTTP CONNECT tunnel, potentially exposing information or enabling data tampering.
Affected context
The vulnerability occurs in NVIDIA OpenShell for Linux's L7 REST policy enforcement when HTTP traffic is handled across an HTTP CONNECT tunnel. It may be present where cleartext HTTP/2 (h2c) traffic is accepted and different components interpret the request inconsistently, allowing traffic to evade policy checks.
Exploit preconditions
- Attack surface: The L7 REST policy enforcement path that handles HTTP CONNECT tunnels
- Required access: Local access with low privileges, as described for this issue
- Trigger point: Sending cleartext HTTP/2 (h2c) traffic over an HTTP CONNECT tunnel
- Why exploitation is possible: Inconsistent HTTP interpretation may cause policy enforcement and downstream request handling to apply different interpretations, permitting a policy bypass
Why this happens
The underlying issue is an HTTP message interpretation inconsistency, mapped to CWE-444. When components that inspect, route, or enforce policy on a request interpret protocol transitions or message boundaries differently, an attacker may craft traffic that is treated differently by the policy layer and the receiving service. This can undermine controls intended to restrict REST requests.
Potential impact
- An attacker may bypass L7 REST policy restrictions.
- Sensitive information could be disclosed if restricted requests reach a service.
- Data could be tampered with if the bypass permits unauthorized operations.
General mitigation guidance
Defensive patterns focus on making policy decisions against the same canonical request interpretation used by downstream services.
- Reject ambiguous or unsupported protocol transitions, including h2c over CONNECT, by default.
- Ensure proxies and policy enforcement components consistently parse and normalize HTTP traffic.
- Apply policy after protocol handling and request parsing are complete, rather than relying on partial inspection.
- Limit access to the affected request path, restrict downstream permissions, and follow least-privilege principles.
- Reduce trust in locally originated traffic and apply explicit authorization to sensitive operations.
How teams detect issues like this
Review proxy and policy configurations for differences in HTTP parsing, CONNECT handling, and h2c support. Code review and static analysis can look for policy checks performed before protocol normalization or for inconsistent parsing across components. Enforce policies that reject unsupported protocol upgrades and monitor for unusual CONNECT traffic or cleartext HTTP/2 requests through policy-controlled paths. Automated security review tools may help identify these patterns.

