JNA prior to 5.0.0 was discovered to contain an out-of-bounds read. Advapi32Util.registryGetValues does not terminate the returned string with null terminators. When it tries to identify the string content it searches for the next null-terminator and will read out-of-bounds of the buffer.
Vulnerable Library - jna-platform-4.4.0.jar
Java Native Access Platform
Library home page: https://github.com/java-native-access/jna
Path to dependency file: /nifi-registry/nifi-registry-core/nifi-registry-bootstrap/pom.xml
Path to vulnerable library: /nifi-registry/nifi-registry-core/nifi-registry-bootstrap/pom.xml,/nifi-commons/nifi-bootstrap-utils/pom.xml
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
WS-2014-0065
### Vulnerable Library - jna-platform-4.4.0.jarJava Native Access Platform
Library home page: https://github.com/java-native-access/jna
Path to dependency file: /nifi-registry/nifi-registry-core/nifi-registry-bootstrap/pom.xml
Path to vulnerable library: /nifi-registry/nifi-registry-core/nifi-registry-bootstrap/pom.xml,/nifi-commons/nifi-bootstrap-utils/pom.xml
Dependency Hierarchy: - :x: **jna-platform-4.4.0.jar** (Vulnerable Library)
Found in base branch: main
### Vulnerability DetailsJNA prior to 5.0.0 was discovered to contain an out-of-bounds read. Advapi32Util.registryGetValues does not terminate the returned string with null terminators. When it tries to identify the string content it searches for the next null-terminator and will read out-of-bounds of the buffer.
Publish Date: 2014-06-24
URL: WS-2014-0065
### CVSS 3 Score Details (7.5)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Release Date: 2014-06-24
Fix Resolution: 5.0.0
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.