GHSA-rcm4-jv5g-wccm: Zfr/zfr oauth2 server module Zfr Authentication Adapter Did Not Vulnerability
HIGHGHSA-rcm4-jv5g-wccm is a HIGH (CVSS 7.5) zfr authentication adapter did not vulnerability (CWE-613: Insufficient Session Expiration) affecting Zfr/zfr oauth2 server module libraries in the Packagist ecosystem. The issue involves zfr authentication adapter did not verify validity of tokens. Remediation is available by upgrading affected packages to version 0.1.2.
GHSA-rcm4-jv5g-wccm at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix GHSA-rcm4-jv5g-wccm
To remediate this vulnerability, upgrade all affected Zfr/zfr oauth2 server module dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade zfr/zfr-oauth2-server-module to 0.1.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for zfr/zfr-oauth2-server-module
How to Check if You Are Affected
To determine whether your application is affected by GHSA-rcm4-jv5g-wccm, inspect your project dependencies for Zfr/zfr oauth2 server module:
inspect dependencies for zfr/zfr-oauth2-server-module
Analyze the terminal output to locate any version of Zfr/zfr oauth2 server module in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.2), 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-613: Insufficient Session Expiration, where according to wasc, "insufficient session expiration is when a web site permits an attacker to reuse old session credentials or session ids for authorization.". In Zfr/zfr oauth2 server module, 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
GHSA-rcm4-jv5g-wccm Affected Zfr/zfr oauth2 server module Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
zfr/zfr-oauth2-server-module
|
Packagist |
< 0.1.2
|
0.1.2
|
References
Frequently Asked Questions
What is GHSA-rcm4-jv5g-wccm?
Which Zfr/zfr oauth2 server module versions are affected?
What version fixes GHSA-rcm4-jv5g-wccm?
Is zfr/zfr-oauth2-server-module affected?
What is the CVSS score of GHSA-rcm4-jv5g-wccm?
What CWE is associated with GHSA-rcm4-jv5g-wccm?
How can I check Packagist dependencies for GHSA-rcm4-jv5g-wccm?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rcm4-jv5g-wccm",
"modified" : "2024-06-07T22:30:03Z",
"published" : "2024-06-07T22:30:03Z",
"aliases" : [ ],
"summary" : "zfr authentication adapter did not verify validity of tokens",
"details" : "Previous to @2ca5bb1c2f11537be8f94ca6867d8d69789e744a (release [0.1.2](https://github.com/zf-fr/zfr-oauth2-server-module/tree/0.1.2)), tokens weren't checked for validity/expiration.\n\nThis potentially caused a security issue if expired tokens were not deleted after the expiration time was past, allowing anyone to still use invalidated authentication credentials.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "zfr/zfr-oauth2-server-module"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.1.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/zf-fr/zfr-oauth2-server-module/issues/6"
}, {
"type" : "WEB",
"url" : "https://github.com/zf-fr/zfr-oauth2-server-module/commit/2ca5bb1c2f11537be8f94ca6867d8d69789e744a"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/zfr/zfr-oauth2-server-module/2014-04-26.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/zf-fr/zfr-oauth2-server-module"
}, {
"type" : "WEB",
"url" : "https://github.com/zf-fr/zfr-oauth2-server-module/tree/0.1.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-613" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-06-07T22:30:03Z",
"nvd_published_at" : null
}
}