ADVISORIES

GitHub Advisory Database

GHSA-369m-2gv6-mw28

WEBrick RCE Vulnerability

Details

The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands via a crafted user name.

Affected packages

EcosystemPackageAffected versions
RubyGemswebrick
All versions before 1.4.0 (fixed in 1.4.0)

References