Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path Traversal Vulnerability in MctConfig.java #32

Open
Tracked by #42
decause-gov opened this issue Sep 1, 2023 · 0 comments
Open
Tracked by #42

Path Traversal Vulnerability in MctConfig.java #32

decause-gov opened this issue Sep 1, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@decause-gov
Copy link
Contributor

Issue Report

Path Traversal Vulnerability in MctConfig.java

Expected behavior

Limitation of a pathname to a restricted directory.

Actual behavior

Lack of limitation of a pathname to a restricted directory.

/java/src/main/java/org/config/MctConfig.java
public MctNpmPackageValidationSupport mctNpmPackageValidationSupport(
FhirContext fhirContext, MctProperties properties) throws IOException {
MctNpmPackageValidationSupport validationSupport = new
MctNpmPackageValidationSupport(fhirContext);
NpmPackage basePackage;
for (Map.Entry<String, MctProperties.ImplementationGuide> igs :
properties.getImplementationGuides().entrySet()) {
if (igs.getValue().getUrl() != null) {
basePackage = NpmPackage.fromUrl(igs.getValue().getUrl());
}

  1. CVE-2023-24057 8.1 Improper Limitation of a Pathname to a Restricted Directory ('Path
    Traversal') vulnerability pending CVSS allocation
@decause-gov decause-gov added the bug Something isn't working label Sep 1, 2023
@c-schuler c-schuler self-assigned this Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants