SQL Injection Affecting cyrus-sasl-lib package, versions <0:2.1.26-24.amzn2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.56% (68th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-CYRUSSASLLIB-2419664
  • published9 Mar 2022
  • disclosed24 Feb 2022

Introduced: 24 Feb 2022

CVE-2022-24407  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 cyrus-sasl-lib to version 0:2.1.26-24.amzn2 or higher.
This issue was patched in ALAS2-2022-1758.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cyrus-sasl-lib package and not the cyrus-sasl-lib package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

In Cyrus SASL 2.1.17 through 2.1.27 before 2.1.28, plugins/sql.c does not escape the password for a SQL INSERT or UPDATE statement.

CVSS Base Scores

version 3.1