Information Exposure Affecting org.apache.commons:commons-dbcp2 Open this link in a new tab package, versions [0,2.9.0)

  • Attack Complexity


  • User Interaction


Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id


  • published

    5 Mar 2020

  • disclosed

    5 Mar 2020

  • credit

    Frank Gasdorf

Introduced: 5 Mar 2020

CWE-200 Open this link in a new tab

How to fix?

Upgrade org.apache.commons:commons-dbcp2 to version 2.9.0 or higher.


org.apache.commons:commons-dbcp2 is a software that implements Database Connection Pooling

Affected versions of this package are vulnerable to Information Exposure. If a BasicDataSource is created with jmxName set, the password property is exposed via jmx and is visible to anyone who is connected to jmx port.