Miggo Logo

CVE-2022-34296: Query predicate bypass in Zalando Skipper

7.5

CVSS Score
3.1

Basic Information

EPSS Score
0.40686%
CWE
-
Published
6/24/2022
Updated
8/17/2023
KEV Status
No
Technology
TechnologyGo

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
github.com/zalando/skippergo< 0.13.2180.13.218

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from the lack of raw query validation before processing query parameters in routing predicates. The fix introduced the ValidateQueryHandler in net/query.go, which parses the raw query upfront using url.ParseQuery(). In vulnerable versions, this validation was missing, allowing attackers to craft queries (e.g., 'foo=bar;') that bypassed predicate checks like Query("foo"). The vulnerable code path was the default request handling flow, which did not include this validation step. The key issue was not a specific function but the absence of the validation middleware, which allowed malformed queries to reach predicate logic with improperly parsed parameters.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

In Z*l*n*o Skipp*r ***or* *.**.***, * qu*ry pr**i**t* *oul* ** *yp*ss** vi* * pr*p*r** r*qu*st.

Reasoning

T** vuln*r**ility st*ms *rom t** l**k o* r*w qu*ry `v*li**tion` ***or* pro**ssin* qu*ry p*r*m*t*rs in routin* pr**i**t*s. T** *ix intro*u*** t** `V*li**t*Qu*ry**n*l*r` in `n*t/qu*ry.*o`, w*i** p*rs*s t** r*w qu*ry up*ront usin* `url.P*rs*Qu*ry()`. In