CVE-2022-34296: Github.com/zalando/skipper Query Predicate Bypass Vulnerability

HIGH
Advisory Identifier: GHSA-qx2j-85q5-ffp8
CVSS 7.5
Published
Advisory Summary

CVE-2022-34296 is a HIGH (CVSS 7.5) query predicate bypass vulnerability (General Security Weakness) affecting Github.com/zalando/skipper libraries in the Go ecosystem. The issue involves query predicate bypass in zalando skipper. Remediation is available by upgrading affected packages to version 0.13.218.

CVE-2022-34296 at a Glance

CVE Identifier CVE-2022-34296
GHSA Identifier GHSA-qx2j-85q5-ffp8
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification General Security Weakness
Affected Product Github.com/zalando/skipper
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2022-34296

To remediate this vulnerability, upgrade all affected Github.com/zalando/skipper dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/zalando/skipper fixed: 0.13.218
Upgrade github.com/zalando/skipper to 0.13.218
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/zalando/skipper

How to Check if You Are Affected

To determine whether your application is affected by CVE-2022-34296, inspect your project dependencies for Github.com/zalando/skipper:

inspect dependencies for github.com/zalando/skipper

Analyze the terminal output to locate any version of Github.com/zalando/skipper in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.218), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Github.com/zalando/skipper, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

In Zalando Skipper before 0.13.218, a query predicate could be bypassed via a prepared request.

CVE-2022-34296 Affected Github.com/zalando/skipper Versions

1 component(s)
Fixed Versions:
0.13.218
Product / Package Ecosystem Affected Versions Fixed Version
github.com/zalando/skipper
Go
< 0.13.218
0.13.218

References

Frequently Asked Questions

What is CVE-2022-34296?
CVE-2022-34296 is a security vulnerability in Github.com/zalando/skipper involving Query predicate bypass in Zalando Skipper under General Security Weakness.
Which Github.com/zalando/skipper versions are affected?
Affected versions include releases prior to 0.13.218 across affected packages: github.com/zalando/skipper.
What version fixes CVE-2022-34296?
Upgrading to 0.13.218 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/zalando/skipper affected?
Yes, github.com/zalando/skipper is affected in releases prior to 0.13.218. Upgrade your dependency to 0.13.218 or later.
What is the CVSS score of CVE-2022-34296?
CVE-2022-34296 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2022-34296?
CVE-2022-34296 is classified under General Security Weakness.
How can I check Go dependencies for CVE-2022-34296?
Run the dependency tree command: 'inspect dependencies for github.com/zalando/skipper'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qx2j-85q5-ffp8",
  "modified" : "2022-07-07T17:14:28Z",
  "published" : "2022-06-24T00:00:32Z",
  "aliases" : [ "CVE-2022-34296" ],
  "summary" : "Query predicate bypass in Zalando Skipper",
  "details" : "In Zalando Skipper before 0.13.218, a query predicate could be bypassed via a prepared request.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/zalando/skipper"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.13.218"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-34296"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zalando/skipper/pull/2028"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zalando/skipper/commit/998a658ce5a68a336a98f4e63e4371e200860dfc"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zalando/skipper"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zalando/skipper/releases/tag/v0.13.218"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-06-25T07:23:27Z",
    "nvd_published_at" : "2022-06-23T17:15:00Z"
  }
}