OpenStack Octavia
In OpenStack Octavia before 18.0.1, the Amphora provider driver did not reject control characters in the L7 policy redirect_url and redirect_prefix fields. The RFC 3986 URL validator percent-encodes control characters before validating, and thus newlines passed structural checks, but Octavia stored and wrote the raw unencoded value directly into the HAProxy configuration generated on the amphora. An authenticated project member who owns a load balancer can therefore inject arbitrary HAProxy directives through a REDIRECT_TO_URL L7 policy. Only deployments using the Amphora provider are affected.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.8.0, < 16.1.0
- >= 17.0.0, < 17.0.1
- >= 18.0.0, < 18.0.1
Fixed in 16.1.0, 17.0.1, 18.0.1
Mitigation
Upgrade Octavia to 16.1.0 or 17.0.1 or 18.0.1 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.