Authentication Bypass Vulnerability in libphp-adodb: CVE-2021-3850

libphp-adodb Updated 02 Oct 2025

Summary

25/01/2022
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2021-3850: Authentication Bypass by Primary Weakness in GitHub repository adodb/adodb prior to 5.20.21. Affects libphp-adodb versions < 5.20.19-1+deb11u1. Fixed in 5.20.19-1+deb11u1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

libphp-adodb is a PHP library that provides a database abstraction layer, allowing developers to interact with various database systems using a unified API. It is widely used in web applications to simplify database operations. However, this package has been found to have a critical vulnerability that could allow unauthorized access to sensitive data.

Vulnerability Detail

The vulnerability identified as CVE-2021-3850 is an authentication bypass caused by a primary weakness in the libphp-adodb library. This flaw allows attackers to gain unauthorized access to systems that utilize this library, potentially leading to data breaches and exploitation of sensitive information. The vulnerability affects multiple versions of the package across different Debian releases, making it crucial for users to address it promptly.

How To Fix

Minimum fixed version

5.20.19-1+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libphp-adodb

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

Workaround

As a temporary measure, users can restrict access to the application using firewall rules or by implementing additional authentication mechanisms to mitigate the risk of unauthorized access until the package is updated.

Conclusion

The CVE-2021-3850 vulnerability in libphp-adodb poses a significant risk to applications using this library. It is essential for users to update to the patched versions to secure their systems against potential unauthorized access.

See every vulnerability recorded for libphp-adodb →

Share this vulnerability

FAQ

CVE-2021-3850 is a vulnerability in the libphp-adodb library that allows for authentication bypass, potentially leading to unauthorized access to sensitive data.

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

Versions prior to 5.20.21 for Debian 11 and prior to 5.21.4 for Debian 12, 13, and 14 are affected by this vulnerability.

If immediate updates are not possible, consider implementing additional security measures, such as restricting access or using alternative authentication methods.

Related vulnerabilities

Recent vulnerabilities recorded for libphp-adodb.

How To Fix

Minimum fixed version

5.20.19-1+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libphp-adodb

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