Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2023-28853 Details

Description

Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for authentication. Starting in version 2.5.0 and prior to versions 3.5.8, 4.0.4, and 4.1.2, the LDAP query made during login is insecure and the attacker can perform LDAP injection attack to leak arbitrary attributes from LDAP database. This issue is fixed in versions 3.5.8, 4.0.4, and 4.1.2.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://github.com/mastodon/mastodon/blob/94cbd808b5b3e7999c7e77dc724b7e8c9dd2bdec/app/models/concerns/ldap_authenticable.rb#L7-L14 CVEProduct
https://github.com/mastodon/mastodon/blob/94cbd808b5b3e7999c7e77dc724b7e8c9dd2bdec/config/initializers/devise.rb#L398-L414 CVEProduct
https://github.com/mastodon/mastodon/pull/24379 CVEPatch
https://github.com/mastodon/mastodon/releases/tag/v3.5.8 CVERelease Notes
https://github.com/mastodon/mastodon/releases/tag/v4.0.4 CVERelease Notes

see all 16 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')[email protected]
CWE-90Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')[email protected]

Affected Products

ProductVersions
joinmastodon mastodon
>= 2.5.0, < 3.5.8
>= 4.0.0, < 4.0.4
>= 4.1.0, < 4.1.2

CPE

  • cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2023-28853
NVD Published Date:
Apr 4, 2023
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]