CVE-2022-28108: Selenium Server (Grid) CSRF

CVE-2022-28108 · Severity: low · CVSS 3.1 · Published 2022-04-20

Selenium Server (Grid) CSRF

Technologies: selenium (PyPI). Vendors: Maven, PyPI.

Quick answers

Is CVE-2022-28108 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-28108 being exploited in the wild.
How severe is CVE-2022-28108?
Low severity, with a CVSS score of 3.1, published 20 April 2022.
Which products and versions are affected?
org.seleniumhq.selenium:selenium-grid (Maven) ECOSYSTEM:introduced=0,fixed=4.0.0-alpha-7; org.seleniumhq.selenium:selenium-server (Maven) ECOSYSTEM:introduced=0,last_affected=4.0.0-alpha-2; selenium (PyPI) ECOSYSTEM:introduced=0,fixed=4.0.0.
Is there a fix for CVE-2022-28108?
Yes. org.seleniumhq.selenium:selenium-grid (Maven): upgrade to 4.0.0-alpha-7 or later; selenium (PyPI): upgrade to 4.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-28108?
Check whether you run org.seleniumhq.selenium:selenium-grid (Maven), org.seleniumhq.selenium:selenium-server (Maven) or selenium (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.seleniumhq.selenium:selenium-grid (Maven): upgrade to 4.0.0-alpha-7 or later
    # set org.seleniumhq.selenium:selenium-grid to 4.0.0-alpha-7 in your pom.xml or build.gradle
  • selenium (PyPI): upgrade to 4.0.0 or later
    pip install "selenium>=4.0.0"

Affected products

  • org.seleniumhq.selenium:selenium-grid (Maven) ECOSYSTEM:introduced=0,fixed=4.0.0-alpha-7
  • org.seleniumhq.selenium:selenium-server (Maven) ECOSYSTEM:introduced=0,last_affected=4.0.0-alpha-2
  • selenium (PyPI) ECOSYSTEM:introduced=0,fixed=4.0.0

Identifiers

  • CVE-2022-28108
  • GHSA-h2rr-m97p-6jq9
  • PYSEC-2022-43167

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.