漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
axios-cache-interceptor Vulnerable to Cache Poisoning via Ignored HTTP Vary Header
Vulnerability Description
Axios Cache Interceptor is a cache interceptor for axios. Prior to version 1.11.1, when a server calls an upstream service using different auth tokens, axios-cache-interceptor returns incorrect cached responses, leading to authorization bypass. The cache key is generated only from the URL, ignoring request headers like `Authorization`. When the server responds with `Vary: Authorization` (indicating the response varies by auth token), the library ignores this, causing all requests to share the same cache regardless of authorization. Server-side applications (APIs, proxies, backend services) that use axios-cache-interceptor to cache requests to upstream services, handle requests from multiple users with different auth tokens, and upstream services replies on `Vary` to differentiate caches are affected. Browser/client-side applications (single user per browser session) are not affected. Services using different auth tokens to call upstream services will return incorrect cached data, bypassing authorization checks and leaking user data across different authenticated sessions. After `v1.11.1`, automatic `Vary` header support is now enabled by default. When server responds with `Vary: Authorization`, cache keys now include the authorization header value. Each user gets their own cache.
CVSS Information
N/A
Vulnerability Type
通过缓存导致的信息暴露
Vulnerability Title
Axios Cache Interceptor 安全漏洞
Vulnerability Description
Axios Cache Interceptor是Arthur Fiorette个人开发者的一个缓存拦截器。 Axios Cache Interceptor 1.11.1之前版本存在安全漏洞,该漏洞源于缓存键生成忽略授权标头,可能导致授权绕过。
CVSS Information
N/A
Vulnerability Type
N/A