PT-2016-3337 · Ruby · Bundler

Steve Richert

·

Published

2016-10-04

·

Updated

2022-05-14

·

CVE-2016-7954

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Bundler versions 1.x
Description The issue is related to a gem name collision on a secondary source, which could allow remote attackers to inject arbitrary Ruby code into an application. This might lead to unauthorized access to confidential data, disruption of data integrity, and denial of service.
Recommendations For Bundler version 1.x, consider implementing measures to handle gem name collisions securely, such as ensuring unique gem names or validating gem sources to prevent arbitrary code injection. As a temporary workaround, consider restricting access to secondary gem sources until a more robust solution is available.

Exploit

Fix

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2021-01399
CVE-2016-7954
GHSA-JVGM-PFQV-887X

Affected Products

Bundler