Description
The gist RubyGem before 6.1.0 contains an improper certificate validation vulnerability that allows on-path attackers to intercept HTTPS traffic because http_connection in lib/gist.rb sets VERIFY_NONE. Attackers can present any certificate to read or modify GitHub API traffic, stealing OAuth tokens and login credentials to read and modify the victim's gists.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
defunkt gist
Default version status: unaffected
4.0.0 to < 6.1.0affected
pkg:gem/gistReferences
- https://github.com/defunkt/gist/issues/373 ↗
- https://github.com/defunkt/gist ↗
- https://github.com/defunkt/gist/blob/v6.0.0/lib/gist.rb#L466-L468 ↗
- https://github.com/defunkt/gist/commit/07ccc1a6d46e9d36f0e85d0b1c5d795890ae6bcf ↗
- https://www.vulncheck.com/advisories/gist-rubygem-before-6.1.0-disabled-tls-certificate-verification ↗