GHSA-5p9f-55j8-922m: Doorkeeper Moderate Severity Vulnerability That Affects Vulnerability

MODERATE
Published
Advisory Summary

GHSA-5p9f-55j8-922m is a MODERATE moderate severity vulnerability that affects vulnerability (General Security Weakness) affecting Doorkeeper libraries in the RubyGems ecosystem. The issue involves moderate severity vulnerability that affects doorkeeper. Remediation is available by upgrading affected packages to version 4.2.0.

GHSA-5p9f-55j8-922m at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-5p9f-55j8-922m
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Doorkeeper
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix GHSA-5p9f-55j8-922m

To remediate this vulnerability, upgrade all affected Doorkeeper dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

doorkeeper fixed: 4.2.0
Upgrade doorkeeper to 4.2.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for doorkeeper

How to Check if You Are Affected

To determine whether your application is affected by GHSA-5p9f-55j8-922m, inspect your project dependencies for Doorkeeper:

inspect dependencies for doorkeeper

Analyze the terminal output to locate any version of Doorkeeper in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.0), 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 General Security Weakness. In Doorkeeper, 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

Withdrawn, accidental duplicate publish. The Doorkeeper gem before 4.2.0 for Ruby might allow remote attackers to conduct replay attacks or revoke arbitrary tokens by leveraging failure to implement the OAuth 2.0 Token Revocation specification.

GHSA-5p9f-55j8-922m Affected Doorkeeper Versions

1 component(s)
Fixed Versions:
4.2.0
Product / Package Ecosystem Affected Versions Fixed Version
doorkeeper
RubyGems
≥ 1.2.0
< 4.2.0
4.2.0

References

Frequently Asked Questions

What is GHSA-5p9f-55j8-922m?
GHSA-5p9f-55j8-922m is a security vulnerability in Doorkeeper involving Moderate severity vulnerability that affects doorkeeper under General Security Weakness.
Which Doorkeeper versions are affected?
Affected versions include releases prior to 4.2.0 across affected packages: doorkeeper.
What version fixes GHSA-5p9f-55j8-922m?
Upgrading to 4.2.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is doorkeeper affected?
Yes, doorkeeper is affected in releases prior to 4.2.0. Upgrade your dependency to 4.2.0 or later.
What CWE is associated with GHSA-5p9f-55j8-922m?
GHSA-5p9f-55j8-922m is classified under General Security Weakness.
How can I check RubyGems dependencies for GHSA-5p9f-55j8-922m?
Run the dependency tree command: 'inspect dependencies for doorkeeper'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5p9f-55j8-922m",
  "modified" : "2020-06-17T15:14:35Z",
  "published" : "2018-08-13T20:49:10Z",
  "withdrawn" : "2020-06-17T15:14:35Z",
  "aliases" : [ ],
  "summary" : "Moderate severity vulnerability that affects doorkeeper",
  "details" : "Withdrawn, accidental duplicate publish.\n\nThe Doorkeeper gem before 4.2.0 for Ruby might allow remote attackers to conduct replay attacks or revoke arbitrary tokens by leveraging failure to implement the OAuth 2.0 Token Revocation specification.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "doorkeeper"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.2.0"
      }, {
        "fixed" : "4.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-6582"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-5p9f-55j8-922m"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-17T15:14:35Z",
    "nvd_published_at" : null
  }
}