Apache Jena: Improper input validation in SPARQL expressions can lead to excessive CPU/memory usage
NIST has not reviewed this entry yet, so scores and affected versions may be missing or may change.
Improper input validation in some SPARQL functions available in Apache Jena ARQ allows users to submit SPARQL queries that cause excessive CPU and/or memory usage. This may be the result of intentionally malicious inputs in the query itself, or an expression applied over data that has been insufficiently validated/sanitised Users are recommended to upgrade to version 6.3.0, which fixes this issue.
Improper Input Validation CWE-20
The software trusts data it is given without checking it, so an attacker can send something it was never built to handle.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Apache Software Foundation Apache Jena | Software | from 0, up to and including 6.2.0 | not recorded |
The 7.7 severity score (high) from apache.org, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Setup needed on the target | None | No special setup on the target is needed. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Data exposed | None | No data can be read. |
| Data changed | None | Nothing can be changed. |
| Service disrupted | High | The attacker can take the service down completely. |
| Other systems: service disrupted | High | The attacker can take down other systems the vulnerable one connects to. |
NIST lists 2 sources for this flaw, none tagged as a vendor patch.