CVE-2022-24124: GO-2022-0303 - SQL Injection in Casdoor in github.com/casdoor/casdoor

CVE-2022-24124 · Severity: low · CVSS 3.1 · Published 2022-01-29

The query API in Casdoor before 1.13.1 has a SQL injection vulnerability related to the field and value parameters, as demonstrated by api/get-organizations.

Technologies: github.com/casdoor/casdoor (Go). Vendors: Go, PyPI.

Quick answers

Is CVE-2022-24124 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-24124 being exploited in the wild.
How severe is CVE-2022-24124?
Low severity, with a CVSS score of 3.1, published 29 January 2022.
Which products and versions are affected?
github.com/casdoor/casdoor (Go) SEMVER:introduced=0,fixed=1.13.1; casdoor (PyPI) ECOSYSTEM:introduced=0,fixed=1.13.1.
Is there a fix for CVE-2022-24124?
Yes. github.com/casdoor/casdoor (Go): upgrade to 1.13.1 or later; casdoor (PyPI): upgrade to 1.13.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-24124?
Check whether you run github.com/casdoor/casdoor (Go) or casdoor (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

  • github.com/casdoor/casdoor (Go): upgrade to 1.13.1 or later
    go get github.com/casdoor/casdoor@v1.13.1
  • casdoor (PyPI): upgrade to 1.13.1 or later
    pip install "casdoor>=1.13.1"

Affected products

  • github.com/casdoor/casdoor (Go) SEMVER:introduced=0,fixed=1.13.1
  • casdoor (PyPI) ECOSYSTEM:introduced=0,fixed=1.13.1

Identifiers

  • CVE-2022-24124
  • GHSA-m358-g4rp-533r
  • GO-2022-0303
  • PYSEC-2022-43189

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