Bahmni-LITE v-1.0.0 Known Vulnerabilities
ImageVulnerabilityLibraryDescriptionHow it would affectcommentsAffected AreaMitigation1bahmniindiadistro/openmrsCVE-2022-0839org.liquibase:liquibase-coreImproper Restriction of XML External Entity Reference in GitHub repository liquibase/liquibase prior to 4.8.0.The software processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. Impacted is confidentiality, integrity, and availabilityPresent in base openmrs imageNeeds an upgrade of org.liquibase:liquibase-core library from version 4.4.3 to 4.8.0A flaw was found in Liquiibase's XMLChangeLogSAXParser() function. It uses SAXParser with no FEATURE_SECURE_PROCESSING set, which could possibly allow XML External Entity (XXE) attacksPresent in only oracle databaseIt would be an issue only if a web application that accepts XML input from a user and processes it using an XML parser.2bahmniindiadistro/openmrsCVE-2022-21724org.postgresql:postgresqlpgjdbc instantiates plugin instances based on class names provided via `authenticationPluginClassName`, `sslhostnameverifier`, `socketFactory`, `sslfactory`, `sslpasswordcallback` connection properties. However, the driver did not verify if the class implements the expected interface before instantiating the class. This can lead to code execution loaded via arbitrary classesThe system using the postgresql library will be attacked when attacker control the jdbc url or propertiesPresent in base openmrs image. Bahmni is not using prostgress provided with openmrs.Needs an upgrade of org.postgresql:postgresql library from version 42.2.24 to 42.3.3The system using the postgresql library will be attacked when attacker control the jdbc url or properties.Present in only postgres DatabaseWe don't have jdbc url configured for postgres as part of openmrs conatiner, as we are on mysql db3bahmniindiadistro/openmrsCVE-2022-26520org.postgresql:postgresqlThis flaw allows an attacker to use a method to write arbitrary files through the connection properties settingsan attacker can create an executable file under the server the application is running and make it a new part of the application or server.Present in base openmrs image.Bahmni is not using prostgress provided with openmrs.Needs an upgrade of org.postgresql:postgresql library from version 42.2.24 to 42.3.3This flaw allows an attacker to use a method to write arbitrary files through the connection properties settings. For example, an attacker can create an executable file under the server the application is running and make it a new part of the application or server.Present in postgres databaseWe don't have jdbc url configured for postgres as part of openmrs conatiner, as we are on mysql db4bahmniindiadistro/openmrsCVE-2022-22965org.springframework:spring-beansA flaw was found in Spring Framework, specifically within two modules called Spring MVC and Spring WebFlux, (transitively affected from Spring Beans), using parameter data binding.This flaw allows an attacker to pass specially-constructed malicious requests to certain parameters and possibly gain access to normally-restricted functionality within the Java Virtual Machine.Present in base openmrs image.Needs an upgrade of library org.springframework:spring-beans from version 5.2.14.RELEASE to 5.3.18IBM Cloud Pak System is affected by a remote code execution in Spring Framework (CVE-2022-22965 and CVE-2020-5421)Mitigation workaround can be to implement applications, via setting disallowed fields on the data binder, and denying various iterations of the string "class.*"5bahmniindiadistro/openmrsCVE-2022-22965org.springframework:spring-webmvcIt is a flaw found in Spring Framework, specifically within two modules called Spring MVC and Spring WebFlux, (transitively affected from Spring Beans), using parameter data binding.This flaw allows an attacker to pass specially-constructed malicious requests to certain parameters and possibly gain access to normally-restricted functionality within the Java Virtual Machine.Present in base openmrs image.Needs an upgrade of library org.springframework:spring-beans from version 5.2.14.RELEASE to 5.3.18IBM Cloud Pak System is affected by a remote code execution in Spring Framework (CVE-2022-22965 and CVE-2020-5421)Mitigation workaround can be to implement applications, via setting disallowed fields on the data binder, and denying various iterations of the string "class.*"6bahmni/reports
bahmni/crater-atomfeed
bahmniindiadistro/openmrsCVE-2016-1000027org.springframework:spring-webpotential remote code execution (RCE) issue if used for Java deserialization of untrusted data.Depending on how the library is implemented within a product, this issue may or not occur, and authentication may be requiredIt requires org.springframework:spring-beans to be upgraded to version 6.0.0This vulnerability makes it possible to exploit deserialization of untrusted data, ultimately leading to Remote Code Execution (RCE). The root cause is the readRemoteInvocation method within the HttpInvokerServiceExporter. class does not sufficiently restrict or verify untrusted objects prior to deserializing them.
The recommended remediation is to ensure there are no HTTP Invoker endpoints exposed to untrusted clients7bahmni/crater-phpCVE-2023-23924dompdf/dompdfThe URI validation on dompdf 2.0.1 can be bypassed on SVG parsing by passing `<image>` tags with uppercase letters. This may lead to arbitrary object unserialize on PHP < 8, through the `phar` URL wrapperAn attacker can exploit the vulnerability to call arbitrary URL with arbitrary protocols, if they can provide a SVG file to dompdf. In PHP versions before 8.0.0, it leads to arbitrary unserialize, that will lead to the very least to an arbitrary file deletion and even remote code execution, depending on classes that are availablestill undergoing analysis
It requires dompdf/dompdf to be upgraded from version v1.2.2 to 2.0.28bahmniindiadistro/openmrsCVE-2019-10202org.codehaus.jackson:jackson-mapper-aslincomplete fix for unsafe deserialization in jackson-databind vulnerabilitiesAn attacker could exploit this vulnerability to execute arbitrary code remotely, take control of our system, steal sensitive data, or launch a denial-of-service (DoS) attack.Requires a version upgrade in openmrs-core
Vulnerability
Library
Description
How it would affect
comments
Affected Area
Mitigation
Bahmni Wiki · CC BY-SA 4.0