Double Free Affecting 389-ds-base-libs package, versions <0:1.3.10.2-16.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.01% (79th 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 IDSNYK-AMZN2-389DSBASELIBS-2957133
  • published21 Jul 2022
  • disclosed18 Feb 2022

Introduced: 18 Feb 2022

CVE-2021-4091  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 389-ds-base-libs to version 0:1.3.10.2-16.amzn2.0.1 or higher.
This issue was patched in ALAS2-2022-1819.

NVD Description

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

A double-free was found in the way 389-ds-base handles virtual attributes context in persistent searches. An attacker could send a series of search requests, forcing the server to behave unexpectedly, and crash.

CVSS Base Scores

version 3.1