coheigea opened a new pull request, #2654: URL: https://github.com/apache/karaf/pull/2654
There is a minor security issue in the JDBC datasource - the datasource name parameter is concatenated directly into OSGi LDAP-syntax filter strings without escaping. For example: ``` feature:install pax-jdbc-derby jdbc jdbc:ds-create -dn derby -url "jdbc:derby:test;create=true" test jdbc:ds-create -dn derby -url "jdbc:derby:test2;create=true" test2 jdbc:ds-list Name │ Service Id │ Product │ Version │ URL │ Status ──────┼────────────┼──────────────┼───────────────────────┼──────────────────┼─────── test │ 107 │ Apache Derby │ 10.14.2.0 - (1828579) │ jdbc:derby:test │ OK test2 │ 108 │ Apache Derby │ 10.14.2.0 - (1828579) │ jdbc:derby:test2 │ OK ``` Now jdbc:ds-info * returns information on "test". And jdbc:ds-delete * deletes all tables. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
