Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 542880 (CVE-2015-1609)

Summary: <dev-db/mongodb-{2.4.13,2.6.8}: DoS due to improper BSON validation (CVE-2015-1609)
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: minor CC: bug, bugs, proxy-maint, ultrabug
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1200446
Whiteboard: B3 [glsa]
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2015-03-11 08:02:21 UTC
From ${URL} :

It was found that the mongod server did not correctly validate certain malformed BSON requests. A 
remote, unauthenticated  attacker could use a specially crafted BSON message to crash a mongod 
server.

Upstream issue:

https://jira.mongodb.org/browse/SERVER-17264

Upstream patches:

2.4 -- https://github.com/mongodb/mongo/commit/3a7e85ea1f672f702660e5472566234b1d19038e
2.6 -- https://github.com/mongodb/mongo/commit/8f1c734c7f1862180f607c241fb167640889efba
3.0 -- https://github.com/mongodb/mongo/commit/5285225e71c5c0652520ef99d0ae4ca24655f72f


@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 Ultrabug gentoo-dev 2015-03-17 12:05:30 UTC
Thanks a lot mate.

Yes, unaffected packages are in tree already so please stabilize the following packages and drop the affected ones.

- mongodb-2.4.13.ebuild
- mongodb-2.6.8.ebuild

or do you want separate bug filled with depend on this one ?
Comment 2 Agostino Sarubbo gentoo-dev 2015-03-24 17:18:40 UTC
Arches, please test and mark stable:
=dev-db/mongodb-2.4.13
=dev-db/mongodb-2.6.8
Target keywords : "amd64 x86"
Comment 3 Agostino Sarubbo gentoo-dev 2015-03-24 17:28:19 UTC
amd64 stable
Comment 4 Agostino Sarubbo gentoo-dev 2015-03-29 12:08:26 UTC
x86 stable.

Maintainer(s), please cleanup.
Security, please vote.
Comment 5 Ultrabug gentoo-dev 2015-03-29 12:20:11 UTC
Cleanup done, thx ago.
Comment 6 Yury German Gentoo Infrastructure gentoo-dev 2015-04-22 18:55:49 UTC
Arches and Maintainer(s), Thank you for your work.

Vote: Yes
Comment 7 GLSAMaker/CVETool Bot gentoo-dev 2015-04-22 18:57:12 UTC
CVE-2015-1609 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2015-1609):
  MongoDB before 2.4.13 and 2.6.x before 2.6.8 allows remote attackers to
  cause a denial of service via a crafted UTF-8 string in a BSON request.
Comment 8 Kristian Fiskerstrand (RETIRED) gentoo-dev 2015-05-11 20:38:38 UTC
GLSA Vote: Yes, new request filed
Comment 9 GLSAMaker/CVETool Bot gentoo-dev 2016-11-20 22:10:10 UTC
This issue was resolved and addressed in
 GLSA 201611-13 at https://security.gentoo.org/glsa/201611-13
by GLSA coordinator Aaron Bauman (b-man).