Skip to content

Regression: Dependency Check detects false positive CVE-2015-9097 on javax.mail 1.5.6 #240

Description

@joergsesterhenn

Issue Type:

  • defect report
  • enhancement request

Current Behavior:

Via Dependency-Track the following gap was marked for all applications:
javax.mail 1.5.6 com.sun.mail NVD CVE-2015-9097
CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection')

This is based on the component org.apache.commons:commons-email.

However, the CVE states that it refers to Ruby:

" The mail gem before 2.5.5 for Ruby (aka A Really Ruby Mail Library) is vulnerable to SMTP command injection via CRLF sequences in a RCPT TO or MAIL FROM command, as demonstrated by CRLF sequences immediately before and after a DATA substring."

So it represents a false positive for us. It has already been reported to Dependecy-Check (jeremylong/DependencyCheck#912, resp. jeremylong/DependencyCheck#895). Those are supposedly fixed for 3.0.

Steps to Reproduce (if defect):

Scan project using component 'javax.mail 1.5.6' mentioned above.

Expected Behavior:

Vulnerability should not show up.

Environment:

  • Dependency-Track Version: 3.3
  • Distribution: [ Docker ]
  • BoM Format & Version: CycloneDX
  • Database Server: [ H2 ]
  • Browser: Firefox

Other Details:

see above

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions