Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firebase/php-jwt-v5.5.1: 1 vulnerabilities (highest severity is: 9.1) - autoclosed #302

Closed
mend-for-github-com bot opened this issue Jun 6, 2022 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Jun 6, 2022

Vulnerable Library - firebase/php-jwt-v5.5.1

A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.

Library home page: https://api.github.com/repos/firebase/php-jwt/zipball/83b609028194aa042ea33b5af2d41a7427de80e6

Found in HEAD commit: 1493c01d5435adf3cd4c1902d1963d0e40922821

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (firebase/php-jwt-v5.5.1 version) Remediation Available
CVE-2021-46743 High 9.1 firebase/php-jwt-v5.5.1 Direct v6.0.0

Details

CVE-2021-46743

Vulnerable Library - firebase/php-jwt-v5.5.1

A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.

Library home page: https://api.github.com/repos/firebase/php-jwt/zipball/83b609028194aa042ea33b5af2d41a7427de80e6

Dependency Hierarchy:

  • firebase/php-jwt-v5.5.1 (Vulnerable Library)

Found in HEAD commit: 1493c01d5435adf3cd4c1902d1963d0e40922821

Found in base branch: main

Vulnerability Details

In Firebase PHP-JWT before 6.0.0, an algorithm-confusion issue (e.g., RS256 / HS256) exists via the kid (aka Key ID) header, when multiple types of keys are loaded in a key ring. This allows an attacker to forge tokens that validate under the incorrect key. NOTE: this provides a straightforward way to use the PHP-JWT library unsafely, but might not be considered a vulnerability in the library itself.

Publish Date: 2022-03-29

URL: CVE-2021-46743

CVSS 3 Score Details (9.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46743

Release Date: 2022-03-29

Fix Resolution: v6.0.0

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jun 6, 2022
@mend-for-github-com mend-for-github-com bot changed the title firebase/php-jwt-v5.5.1: 1 vulnerabilities (highest severity is: 9.1) firebase/php-jwt-v5.5.1: 1 vulnerabilities (highest severity is: 9.1) - autoclosed Nov 9, 2022
@mend-for-github-com
Copy link
Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants