Vulnerabilities in pkg:gem/omniauth-facebook

PACKAGE
Advisory Identifier: GHSA-33vg-hpx5-pfxg
Advisory Summary

CVE-2013-4593 is a HIGH (CVSS 7.5) omniauth-facebook improper authentication vulnerability vulnerability (CWE-287: Improper Authentication) affecting Omniauth facebook libraries in the RubyGems ecosystem. The issue involves omniauth-facebook improper authentication vulnerability. Remediation is available by upgrading affected packages to version 1.5.1.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/omniauth-facebook

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:gem/omniauth-facebook. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-33vg-hpx5-pfxg CVE-2013-4593 HIGH omniauth-facebook Improper Authentication vulnerability
GHSA-cf36-985g-v73c CVE-2013-4562 MODERATE omniauth-facebook Cross-Site Request Forgery vulnerability

CVE-2013-4593 at a Glance

CVE Identifier CVE-2013-4593
GHSA Identifier GHSA-33vg-hpx5-pfxg
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-287: Improper Authentication
Affected Product Omniauth facebook
Package Ecosystem RubyGems
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2013-4593

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

omniauth-facebook fixed: 1.5.1
Upgrade omniauth-facebook to 1.5.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 omniauth-facebook

How to Check if You Are Affected

To determine whether your application is affected by CVE-2013-4593, inspect your project dependencies for Omniauth facebook:

inspect dependencies for omniauth-facebook

Analyze the terminal output to locate any version of Omniauth facebook in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Omniauth facebook, 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

RubyGem omniauth-facebook has an access token security vulnerability.

CVE-2013-4593 Affected Omniauth facebook Versions

1 component(s)
Fixed Versions:
1.5.1
Product / Package Ecosystem Affected Versions Fixed Version
omniauth-facebook
RubyGems
< 1.5.1
1.5.1

References

Frequently Asked Questions

What is CVE-2013-4593?
CVE-2013-4593 is a security vulnerability in Omniauth facebook involving omniauth-facebook Improper Authentication vulnerability under CWE-287: Improper Authentication.
Which Omniauth facebook versions are affected?
Affected versions include releases prior to 1.5.1 across affected packages: omniauth-facebook.
What version fixes CVE-2013-4593?
Upgrading to 1.5.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is omniauth-facebook affected?
Yes, omniauth-facebook is affected in releases prior to 1.5.1. Upgrade your dependency to 1.5.1 or later.
What is the CVSS score of CVE-2013-4593?
CVE-2013-4593 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2013-4593?
CVE-2013-4593 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check RubyGems dependencies for CVE-2013-4593?
Run the dependency tree command: 'inspect dependencies for omniauth-facebook'. 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-33vg-hpx5-pfxg",
  "modified" : "2023-01-26T23:53:25Z",
  "published" : "2022-05-05T00:29:10Z",
  "aliases" : [ "CVE-2013-4593" ],
  "summary" : "omniauth-facebook Improper Authentication vulnerability",
  "details" : "RubyGem omniauth-facebook has an access token security vulnerability.",
  "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" : "RubyGems",
      "name" : "omniauth-facebook"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.5.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-4593"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/simi/omniauth-facebook/commit/115c0a768cd6f4b9bfae8900f8e3fc4fbeec3ad8"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/89040"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/simi/omniauth-facebook"
  }, {
    "type" : "WEB",
    "url" : "https://security-tracker.debian.org/tracker/CVE-2013-4593"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2013/11/18/6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-26T23:53:25Z",
    "nvd_published_at" : "2019-12-11T14:15:00Z"
  }
}