Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. Hangfire.Core
  4. ›
  5. CVE-2021-41238

CVE-2021-41238: Missing Authorization

November 2, 2021 (updated November 4, 2021)

Hangfire is an open source system to perform background job processing in a .NET or .NET Core applications. No Windows Service or separate process required. Dashboard UI in Hangfire.Core uses authorization filters to protect it from showing sensitive data to unauthorized users. By default when no custom authorization filters specified, LocalRequestsOnlyAuthorizationFilter filter is being used to allow only local requests and prohibit all the remote requests to provide sensible, protected by default settings. However due to the recent changes, no authorization filters are used by default, allowing remote requests to succeed. If you are using UseHangfireDashboard method with default DashboardOptions.Authorization property value, then your installation is impacted. If any other authorization filter is specified in the DashboardOptions.Authorization property, the you are not impacted.

References

  • github.com/HangfireIO/Hangfire/issues/1958
  • github.com/HangfireIO/Hangfire/security/advisories/GHSA-7rq6-7gv8-c37h
  • nvd.nist.gov/vuln/detail/CVE-2021-41238

Code Behaviors & Features

Detect and mitigate CVE-2021-41238 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 1.7.25

Fixed versions

  • 1.7.26

Solution

Upgrade to version 1.7.26 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

nuget/Hangfire.Core/CVE-2021-41238.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:20 +0000.