{ "id": "CVE-2023-28853", "sourceIdentifier": "security-advisories@github.com", "published": "2023-04-04T22:15:08.087", "lastModified": "2024-11-21T07:56:09.700", "vulnStatus": "Modified", "cveTags": [], "descriptions": [ { "lang": "en", "value": "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": { "cvssMetricV31": [ { "source": "security-advisories@github.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N", "baseScore": 7.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE" }, "exploitabilityScore": 3.1, "impactScore": 4.0 }, { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE" }, "exploitabilityScore": 2.8, "impactScore": 3.6 } ] }, "weaknesses": [ { "source": "security-advisories@github.com", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-90" } ] }, { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-74" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*", "versionStartIncluding": "2.5.0", "versionEndExcluding": "3.5.8", "matchCriteriaId": "7719057A-5D61-40B5-9F17-BAE36C43C90A" }, { "vulnerable": true, "criteria": "cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.0.0", "versionEndExcluding": "4.0.4", "matchCriteriaId": "EAB7A197-9D83-4A92-BF6C-A9DBA50E1DDA" }, { "vulnerable": true, "criteria": "cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.1.0", "versionEndExcluding": "4.1.2", "matchCriteriaId": "F3BC1F07-C0F6-42E6-B967-F1A536F84767" } ] } ] } ], "references": [ { "url": "http://www.openwall.com/lists/oss-security/2023/07/06/6", "source": "security-advisories@github.com" }, { "url": "https://github.com/mastodon/mastodon/blob/94cbd808b5b3e7999c7e77dc724b7e8c9dd2bdec/app/models/concerns/ldap_authenticable.rb#L7-L14", "source": "security-advisories@github.com", "tags": [ "Product" ] }, { "url": "https://github.com/mastodon/mastodon/blob/94cbd808b5b3e7999c7e77dc724b7e8c9dd2bdec/config/initializers/devise.rb#L398-L414", "source": "security-advisories@github.com", "tags": [ "Product" ] }, { "url": "https://github.com/mastodon/mastodon/pull/24379", "source": "security-advisories@github.com", "tags": [ "Patch" ] }, { "url": "https://github.com/mastodon/mastodon/releases/tag/v3.5.8", "source": "security-advisories@github.com", "tags": [ "Release Notes" ] }, { "url": "https://github.com/mastodon/mastodon/releases/tag/v4.0.4", "source": "security-advisories@github.com", "tags": [ "Release Notes" ] }, { "url": "https://github.com/mastodon/mastodon/releases/tag/v4.1.2", "source": "security-advisories@github.com", "tags": [ "Release Notes" ] }, { "url": "https://github.com/mastodon/mastodon/security/advisories/GHSA-38g9-pfm9-gfqv", "source": "security-advisories@github.com", "tags": [ "Exploit", "Vendor Advisory" ] }, { "url": "http://www.openwall.com/lists/oss-security/2023/07/06/6", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://github.com/mastodon/mastodon/blob/94cbd808b5b3e7999c7e77dc724b7e8c9dd2bdec/app/models/concerns/ldap_authenticable.rb#L7-L14", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Product" ] }, { "url": "https://github.com/mastodon/mastodon/blob/94cbd808b5b3e7999c7e77dc724b7e8c9dd2bdec/config/initializers/devise.rb#L398-L414", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Product" ] }, { "url": "https://github.com/mastodon/mastodon/pull/24379", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Patch" ] }, { "url": "https://github.com/mastodon/mastodon/releases/tag/v3.5.8", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Release Notes" ] }, { "url": "https://github.com/mastodon/mastodon/releases/tag/v4.0.4", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Release Notes" ] }, { "url": "https://github.com/mastodon/mastodon/releases/tag/v4.1.2", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Release Notes" ] }, { "url": "https://github.com/mastodon/mastodon/security/advisories/GHSA-38g9-pfm9-gfqv", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Exploit", "Vendor Advisory" ] } ] }