uniquelyparticular / serverless-oauth

A Particularly minimal pluggable OAuth implementation using Serverless.
https://uniquelyparticular.com
MIT License
1 stars 2 forks source link

CVE-2022-25881 (High) detected in http-cache-semantics-3.8.1.tgz #257

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago

CVE-2022-25881 - High Severity Vulnerability

Vulnerable Library - http-cache-semantics-3.8.1.tgz

Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies

Library home page: https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz

Path to dependency file: /generic-oauth/package.json

Path to vulnerable library: /tmp/git/generic-oauth/node_modules/npm/node_modules/http-cache-semantics/package.json

Dependency Hierarchy: - semantic-release-15.13.14.tgz (Root Library) - npm-5.1.7.tgz - npm-6.9.0.tgz - npm-registry-fetch-3.9.0.tgz - make-fetch-happen-4.0.1.tgz - :x: **http-cache-semantics-3.8.1.tgz** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

This affects versions of the package http-cache-semantics before 4.1.1. The issue can be exploited via malicious request header values sent to a server, when that server reads the cache policy from the request using this library.

Publish Date: 2023-01-31

URL: CVE-2022-25881

CVSS 3 Score Details (7.5)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-rc47-6667-2j5j

Release Date: 2023-01-31

Fix Resolution (http-cache-semantics): 4.1.1

Direct dependency fix Resolution (semantic-release): 17.0.1


Step up your Open Source Security Game with Mend here