Skip to content
PHP News
Search

Symfony security advisory

CVE-2018-11407: Unauthorized access on a misconfigured LDAP server when using an empty password

critical Symfony Symfony components · Not reviewed by PHP News yet
CVE
CVE-2018-11407
GHSA
GHSA-35c5-28pg-2qg4
Packagist
PKSA-hdr7-z345-3h59
Reported
May 25, 2018

Affected and fixed versions

In 3 packages: symfony/security, symfony/security-core and symfony/symfony. Find the row for the version you run, and update to the release next to it.

If you run Update to Support
4.0.0 – 4.0.6 4.0.7
3.4.0 – 3.4.6 3.4.7
3.0.0 – 3.0.x 3.3.17
Show 4 older branches
3.1.0 – 3.1.x 3.3.17
3.2.0 – 3.2.x 3.3.17
3.3.0 – 3.3.16 3.3.17
2.8.0 – 2.8.36 2.8.37

Upgrade

Run the line for the branch you are on. 2 other packages listed above are affected too; update them the same way.

composer require symfony/security:^4.0.7
composer require symfony/security:^3.4.7
composer require symfony/security:^3.3.17

Check your app with an agent

Paste this into a coding agent that can read your project, such as Claude Code, Codex or Amp. It checks your composer.lock against the versions above and tells you what to update, without changing anything.

Check whether the PHP project you have access to is affected by this security advisory, and tell me what to update. Do a read-only check: don't edit files, don't run composer update or composer require, and don't try to reproduce the flaw.

Advisory: CVE-2018-11407: Unauthorized access on a misconfigured LDAP server when using an empty password (CVE-2018-11407, GHSA-35c5-28pg-2qg4)
Details: https://phpnews.net/security/symfony/ghsa-35c5-28pg-2qg4

Affected versions, as Composer constraints:
- symfony/security, symfony/security-core, symfony/symfony: >=2.8.0,<2.8.37|>=3.0.0,<3.1.0|>=3.1.0,<3.2.0|>=3.2.0,<3.3.0|>=3.3.0,<3.3.17|>=3.4.0,<3.4.7|>=4.0.0,<4.0.7

Fixed releases:
- 4.0.0 – 4.0.6: update to 4.0.7
- 3.4.0 – 3.4.6: update to 3.4.7
- 3.0.0 – 3.0.x: update to 3.3.17

1. Find every composer.lock in the project outside vendor/ (a monorepo can have one per app) and read the installed version of each package above. Packages installed as dependencies of other packages count too.
2. Compare each installed version with its constraint: "|" separates alternative ranges, and "," means both bounds apply.
3. For each affected install, read the project's advisory at https://symfony.com/cve-2018-11407 and check whether the project meets the conditions it describes (if that page won't load, use https://github.com/advisories/GHSA-35c5-28pg-2qg4). Say which conditions you could check and which you couldn't.
4. Report a table: lock file | package | installed version | affected (yes, no or unknown) | conditions met (yes, no or unknown) | update to | evidence. For each affected package, give the command that would fix it, without running it: composer update <package> --with-dependencies when it is only installed as a dependency of another package, or composer require with the fixed version when composer.json requires it directly. If the installed version is on a branch with no fixed release listed, say it needs a move to a newer branch.

Sources

← All Symfony advisories