CVE-2024-34914 is a medium-severity (CVSS 6.5) CWE-328 vulnerability in php-censor/php-censor. A fix is available for php-censor/php-censor — see the affected versions and patch details below.
PHP Censor uses a weak hashing algorithm for the remember me key
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
Exploitation and automatability from CISA’s SSVC triage for CVE-2024-34914.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
php-censor/php-censor🐘php-censor/php-censorReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
php-censor v2.1.4 and fixed in v.2.1.5 was discovered to utilize a weak hashing algorithm for its remember_key value. This allows attackers to bruteforce to bruteforce the remember_key value to gain access to accounts that have checked "remember me" when logging in.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | php-censor/php-censor | ≥ 2.1.0&&< 2.1.5 | 2.1.5composer require php-censor/php-censor:^2.1.5 |
| 🐘Packagist | php-censor/php-censor | all versions | 2.0.13composer require php-censor/php-censor:^2.0.13 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for php-censor/php-censor, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update php-censor/php-censor to 2.1.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-34914 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2024-34914 in your dependencies?
Find it across Packagist, including transitive dependencies.