CVE-2021-33563: Phanan/koel Improper Rate Limiting Vulnerability
HIGHCVE-2021-33563 is a HIGH improper rate limiting vulnerability (CWE-799: Improper Control of Interaction Frequency) affecting Phanan/koel libraries in the Packagist ecosystem. The issue involves improper rate limiting in koel. Remediation is available by upgrading affected packages to version 5.1.4.
CVE-2021-33563 at a Glance
How to Fix CVE-2021-33563
To remediate this vulnerability, upgrade all affected Phanan/koel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade phanan/koel to 5.1.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for phanan/koel
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-33563, inspect your project dependencies for Phanan/koel:
inspect dependencies for phanan/koel
Analyze the terminal output to locate any version of Phanan/koel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.1.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-799: Improper Control of Interaction Frequency, where the product does not properly limit the number or frequency of interactions that it has with an actor, such as the number of incoming requests. In Phanan/koel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2021-33563 Affected Phanan/koel Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phanan/koel
|
Packagist |
< 5.1.4
|
5.1.4
|
References
Frequently Asked Questions
What is CVE-2021-33563?
Which Phanan/koel versions are affected?
What version fixes CVE-2021-33563?
Is phanan/koel affected?
What CWE is associated with CVE-2021-33563?
How can I check Packagist dependencies for CVE-2021-33563?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r37h-j483-cjjm",
"modified" : "2021-06-04T18:50:20Z",
"published" : "2021-06-01T21:38:20Z",
"aliases" : [ "CVE-2021-33563" ],
"summary" : "Improper rate limiting in Koel",
"details" : "Koel before 5.1.4 lacks login throttling, lacks a password strength policy, and shows whether a failed login attempt had a valid username. This might make brute-force attacks easier.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "phanan/koel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.1.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-33563"
}, {
"type" : "WEB",
"url" : "https://github.com/koel/koel/releases/tag/v5.1.4"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/1-other-koel/koel"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-799", "CWE-916" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-06-01T20:37:37Z",
"nvd_published_at" : "2021-05-24T23:15:00Z"
}
}