CVE-2021-33563: Phanan/koel Improper Rate Limiting Vulnerability

HIGH
Advisory Identifier: GHSA-r37h-j483-cjjm
CWE-799 CWE-916
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2021-33563
GHSA Identifier GHSA-r37h-j483-cjjm
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-799: Improper Control of Interaction Frequency
Affected Product Phanan/koel
Package Ecosystem Packagist
Published Date
Last Updated

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.

phanan/koel fixed: 5.1.4
Upgrade phanan/koel to 5.1.4
Verify Direct and Transitive Dependencies

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

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.

CVE-2021-33563 Affected Phanan/koel Versions

1 component(s)
Fixed Versions:
5.1.4
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?
CVE-2021-33563 is a security vulnerability in Phanan/koel involving Improper rate limiting in Koel under CWE-799: Improper Control of Interaction Frequency.
Which Phanan/koel versions are affected?
Affected versions include releases prior to 5.1.4 across affected packages: phanan/koel.
What version fixes CVE-2021-33563?
Upgrading to 5.1.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is phanan/koel affected?
Yes, phanan/koel is affected in releases prior to 5.1.4. Upgrade your dependency to 5.1.4 or later.
What CWE is associated with CVE-2021-33563?
CVE-2021-33563 is classified under CWE-799: Improper Control of Interaction Frequency (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.).
How can I check Packagist dependencies for CVE-2021-33563?
Run the dependency tree command: 'inspect dependencies for phanan/koel'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}