CVE-2014-8144: Doorkeeper Doorkeeper Vulnerable To Cross-site Request Vulnerability

MODERATE
Advisory Identifier: GHSA-685w-vc84-wxcx
CWE-352
Published
Advisory Summary

CVE-2014-8144 is a MODERATE doorkeeper vulnerable to cross-site request vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Doorkeeper libraries in the RubyGems ecosystem. The issue involves doorkeeper vulnerable to cross-site request forgery. Remediation is available by upgrading affected packages to version 1.4.1.

CVE-2014-8144 at a Glance

CVE Identifier CVE-2014-8144
GHSA Identifier GHSA-685w-vc84-wxcx
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Doorkeeper
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2014-8144

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: 1.4.1
Upgrade doorkeeper to 1.4.1
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 CVE-2014-8144, 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 1.4.1), 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. 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

Cross-site request forgery (CSRF) vulnerability in doorkeeper before 1.4.1 allows remote attackers to hijack the authentication of unspecified victims for requests that read a user OAuth authorization code via unknown vectors.

CVE-2014-8144 Affected Doorkeeper Versions

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

References

Frequently Asked Questions

What is CVE-2014-8144?
CVE-2014-8144 is a security vulnerability in Doorkeeper involving Doorkeeper vulnerable to Cross-site Request Forgery under CWE-352: Cross-Site Request Forgery (CSRF).
Which Doorkeeper versions are affected?
Affected versions include releases prior to 1.4.1 across affected packages: doorkeeper.
What version fixes CVE-2014-8144?
Upgrading to 1.4.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is doorkeeper affected?
Yes, doorkeeper is affected in releases prior to 1.4.1. Upgrade your dependency to 1.4.1 or later.
What CWE is associated with CVE-2014-8144?
CVE-2014-8144 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.).
How can I check RubyGems dependencies for CVE-2014-8144?
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-685w-vc84-wxcx",
  "modified" : "2025-04-14T21:54:39Z",
  "published" : "2018-09-17T21:55:22Z",
  "aliases" : [ "CVE-2014-8144" ],
  "summary" : "Doorkeeper vulnerable to Cross-site Request Forgery",
  "details" : "Cross-site request forgery (CSRF) vulnerability in doorkeeper before 1.4.1 allows remote attackers to hijack the authentication of unspecified victims for requests that read a user OAuth authorization code via unknown vectors.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "doorkeeper"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.4.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-8144"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/99342"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/doorkeeper-gem/doorkeeper"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/doorkeeper-gem/doorkeeper/blob/master/CHANGELOG.md"
  }, {
    "type" : "WEB",
    "url" : "http://seclists.org/oss-sec/2014/q4/1076"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:18:25Z",
    "nvd_published_at" : "2014-12-31T22:59:02Z"
  }
}