Skip to content

Scanning tool whines about possible sec vuln wrt DOMSerializer: problem? #3387

Closed
@shyam94

Description

@shyam94

Hi,

Veracode scan reported Medium Vulnerabilities found in jackson-databind-2.13.1.

  1. File: com/fasterxml/jackson/databind/ext/DOMSerializer.java
    Line no: 45
    CWE ID: 611
    Reason: Improper Restriction of XML External Entity Reference. The product processes an XML document that can contain XML
    entities with URLs that resolve to documents outside of the intended sphere of control, causing the product to embed
    incorrect documents into its output. (Please check CWE for more details).

  2. File: com/fasterxml/jackson/databind/ext/NioPathDeserializer.java
    Line no: 53, 58
    CWE ID: 73
    Reason: External Control of File Name or Path. This call contains a path manipulation flaw. The argument to the function is a
    filename constructed using untrusted input.

Please let me know if these are false Positives or needs to be addressed.

Thanks,
Shyam Joshi

Metadata

Metadata

Assignees

No one assigned

    Labels

    need-test-caseTo work on issue, a reproduction (ideally unit test) needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions