CVE-2023-25956: Apache Airflow AWS Provider Error Message Leakage

Summary

07/07/2026
Yes i
High
7.5

CVE-2023-25956: Apache Airflow AWS Provider Generates Error Message Containing Sensitive Information. Affects apache-airflow-providers-amazon versions < 7.2.1. Fixed in 7.2.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Apache Airflow AWS Provider is a package that enables Apache Airflow to interact with Amazon Web Services (AWS) for orchestrating workflows. It provides operators and hooks to manage AWS resources, facilitating tasks such as data processing and cloud resource management. However, certain versions of this package are vulnerable to a security issue that can expose sensitive information through error messages.

Vulnerability Detail

The vulnerability arises from the generation of error messages that inadvertently include sensitive information. This can lead to unauthorized access to confidential data, potentially compromising user credentials or other sensitive details. The issue affects versions of the Apache Airflow AWS Provider prior to 7.2.1, making it critical for users to upgrade to the patched version to mitigate risks.

How To Fix

Minimum fixed version

7.2.1

This is the first release that contains the fix.

pip install --upgrade "apache-airflow-providers-amazon==7.2.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can implement error handling in your workflows to avoid exposing sensitive information. For example, you can catch exceptions and log generic error messages without revealing sensitive data. Here is a sample code snippet:

try: # Your AWS operation here except Exception as e: log.error('An error occurred while processing the request.')

Conclusion

The Apache Airflow AWS Provider has a significant vulnerability that can expose sensitive information through error messages. It is crucial to update to version 7.2.1 or later to protect against this risk. Additionally, implementing error handling can serve as a temporary measure until the upgrade is completed.

See every vulnerability recorded for apache-airflow-providers-amazon →

Share this vulnerability

FAQ

CVE-2023-25956 is a vulnerability in the Apache Airflow AWS Provider that allows sensitive information to be included in error messages.

Versions prior to 7.2.1 of the Apache Airflow AWS Provider are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

If you cannot upgrade immediately, implement error handling in your workflows to prevent sensitive information from being exposed in error messages.

Related vulnerabilities

Recent vulnerabilities recorded for apache-airflow-providers-amazon.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

7.2.1

This is the first release that contains the fix.

pip install --upgrade "apache-airflow-providers-amazon==7.2.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback