{"schemaVersion":3,"id":"CVE-2021-3850","aliases":["MGASA-2022-0056","UBUNTU-CVE-2021-3850","DEBIAN-CVE-2021-3850","DLA-2912-1","DSA-5101-1"],"status":"published","duplicateOf":null,"title":null,"description":"Authentication Bypass by Primary Weakness in GitHub repository adodb/adodb prior to 5.20.21.","dates":{"published":"2022-01-25T14:20:11.000Z","modified":"2024-08-03T17:09:09.599Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":10,"impact":8.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.4,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0217,"percentile":0.82024,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0217},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0217,"percentile":0.82024}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0217,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0217,"percentile":0.82024}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_44566B20B998E243","name":"Exploit Reference (huntr.dev)","source":"reference","url":"https://huntr.dev/bounties/bdf5f216-4499-4225-a737-b28bc6f5801c","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-305","name":"Authentication Bypass by Primary Weakness","description":"The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/305.html"},{"id":"CWE-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"}],"affected":[{"vendor":"adodb_project","product":"adodb","name":"adodb","label":"adodb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 5.20.21","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 5.20.21","eol":null,"hubHref":"/vendor/adodb_project/adodb"},{"vendor":"adodb","product":"adodb/adodb","name":"adodb/adodb","label":"adodb/adodb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 5.20.21","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 5.20.21","eol":null,"hubHref":"/vendor/adodb/adodbadodb"},{"vendor":"debian","product":"libphp-adodb","name":"libphp-adodb","label":"libphp-adodb","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libphp-adodb","purlType":"deb","versions":[{"text":"< 5.21.4-1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.20.14-1+deb10u1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.20.19-1+deb11u1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.20.9-1+deb9u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.21.4-1 | < 5.20.14-1+deb10u1 | < 5.20.19-1+deb11u1 | < 5.20.9-1+deb9u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libphp-adodb","name":"libphp-adodb","label":"libphp-adodb","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libphp-adodb","purlType":"deb","versions":[{"text":"< 5.20.3-1ubuntu1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.20.9-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.20.16-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.20.19-1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.20.3-1ubuntu1+esm1 | < 5.20.9-1ubuntu0.1~esm1 | < 5.20.16-1ubuntu0.1~esm1 | < 5.20.19-1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"mageia","product":"php-adodb","name":"php-adodb","label":"php-adodb","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/php-adodb","purlType":"rpm","versions":[{"text":"< 5.20.21-1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.20.21-1.mga8","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://huntr.dev/bounties/bdf5f216-4499-4225-a737-b28bc6f5801c","label":"huntr.dev/bounties/bdf5f216-4499-4225-a737-b28bc6f5801c","hostname":"huntr.dev","tags":["X Refsource CONFIRM","REPORT","Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/adodb/adodb/commit/952de6c4273d9b1e91c2b838044f8c2111150c29","label":"github.com/adodb/adodb/commit/952de6c4273d9b1e91c2b838044f8c2111150c29","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/02/msg00006.html","label":"lists.debian.org/debian-lts-announce/2022/02/msg00006.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5101","label":"www.debian.org/security/2022/dsa-5101","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0056.html","label":"advisories.mageia.org/MGASA-2022-0056.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30008","label":"bugs.mageia.org/show_bug.cgi?id=30008","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://github.com/ADOdb/ADOdb/releases/tag/v5.20.21","label":"github.com/ADOdb/ADOdb/releases/tag/v5.20.21","hostname":"github.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2021-3850","label":"ubuntu.com/security/CVE-2021-3850","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/ADOdb/ADOdb/issues/793","label":"github.com/ADOdb/ADOdb/issues/793","hostname":"github.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3850","label":"www.cve.org/CVERecord?id=CVE-2021-3850","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6825-1","label":"ubuntu.com/security/notices/USN-6825-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3850","label":"security-tracker.debian.org/tracker/CVE-2021-3850","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-6825-1"],"duplicates":[],"related":["USN-6825-1"]},"timeline":[{"kind":"published","date":"2022-01-25T14:20:11.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T17:09:09.599Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T23:37:57.162Z","stale":false,"partial":false}}