Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540254 - <dev-ruby/rest-client-1.7.3: plain text passwords are being logged (CVE-2015-3448)
Summary: <dev-ruby/rest-client-1.7.3: plain text passwords are being logged (CVE-2015-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard: B3 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-16 08:01 UTC by Agostino Sarubbo
Modified: 2015-06-14 20:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2015-02-16 08:01:18 UTC
From ${URL} :

It was reported [1] that when logging is enabled,  ... puts passwords to the log file in plaintext.
Suggested fix:
https://github.com/rest-client/rest-client/issues/352

[1]: https://github.com/rest-client/rest-client/issues/349


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Hans de Graaff gentoo-dev Security 2015-02-17 07:04:25 UTC
There is no upstream consensus on how to fix this properly and the logging in question does not occur by default. We'll wait until upstream has a solution for this.
Comment 2 Hans de Graaff gentoo-dev Security 2015-02-20 06:56:53 UTC
Upstream has released rest-client-1.7.3 which addresses this issue: https://github.com/rest-client/rest-client/issues/349

This version is now in the tree and can be marked stable (with the associated dependencies):

=dev-ruby/httpclient-2.5.3.2
=dev-ruby/addressable-2.3.6
=dev-ruby/webmock-1.19.0
=dev-ruby/netrc-0.9.0
=dev-ruby/rest-client-1.7.3
Comment 3 Hans de Graaff gentoo-dev Security 2015-02-20 07:05:46 UTC
Overlooked one set of required dependencies:

=dev-ruby/http_parser_rb-0.6.0
=dev-ruby/http-0.6.3
=dev-ruby/httpclient-2.5.3.2
=dev-ruby/addressable-2.3.6
=dev-ruby/webmock-1.19.0
=dev-ruby/netrc-0.9.0
=dev-ruby/rest-client-1.7.3
Comment 4 Agostino Sarubbo gentoo-dev 2015-02-20 11:22:52 UTC
amd64 stable
Comment 5 Agostino Sarubbo gentoo-dev 2015-02-20 11:23:36 UTC
x86 stable.

Maintainer(s), please cleanup.
Security, please vote.
Comment 6 Manuel Rüger (RETIRED) gentoo-dev 2015-02-20 23:15:02 UTC
We cannot remove the old, as app-admin/chef still requires <dev-ruby/rest-client-1.7.
Comment 7 Hans de Graaff gentoo-dev Security 2015-02-23 19:13:52 UTC
I have just masked app-admin/chef for removal but it will take a bit of time for the actual ebuilds to be removed.

I have included the vulnerable version of rest-client in the mask.
Comment 8 Kristian Fiskerstrand (RETIRED) gentoo-dev 2015-02-23 19:18:28 UTC
GLSA Vote: No
Comment 9 Sergey Popov gentoo-dev 2015-02-24 14:31:50 UTC
GLSA vote: No
Comment 10 Manuel Rüger (RETIRED) gentoo-dev 2015-05-31 20:23:36 UTC
Vulnerable versions have been removed.
Comment 11 GLSAMaker/CVETool Bot gentoo-dev 2015-06-14 20:18:14 UTC
CVE-2015-3448 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2015-3448):
  REST client for Ruby (aka rest-client) before 1.7.3 logs usernames and
  passwords, which allows local users to obtain sensitive information by
  reading the log.