question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fortify Scan finds a critical vulnerability

See original GitHub issue

Describe the bug A Fortify Scan finds a critical Cross-Site Scripting vulnerability in Axios here:

https://github.com/axios/axios/blob/master/lib/helpers/isURLSameOrigin.js#L30

urlParsingNode.setAttribute('href', href);

The method resolveURL() sends unvalidated data to a web browser, which can result in the browser executing malicious code.

This issue has been reported previously, but then it was closed as 0.19.0 was supposed to provide a fix.

We ran a Fortify scan on 0.19.0 and got the same error; the source code still contains the problematic line above and the issue remains.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
benjifincommented, Oct 11, 2019

Just a heads up from Snyk - thanks to @dominykas pulling us in here we’ve reviewed the vulnerability and determined it really is a false positive on Fortify’s account - and we are going to be removing the vulnerability from our DB. Apologies for the noise on our side, and please let us know if we can be of help talking to people at Fortify to get the issues cleared up if you all opt to not release any changes on account of this scan in the end.

1reaction
chinesedfancommented, Jan 25, 2020

we’ve reviewed the vulnerability and determined it really is a false positive on Fortify’s account

As @benjifin says, we have released 0.19.2 to revert the overkill patch in 0.19.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix vulnerabilities in a HP Fortify SCA report - Lucent Sky
While HP Fortify SCA only tells you where vulnerabilities are, Lucent Sky AVM will tell you where they are and how to fix...
Read more >
Fortify Static Code Analyzer (SCA) Static Application Security ...
This technique analyzes every feasible path that execution and data can follow to identify and remediate vulnerabilities. Find Security Issues Early. To process ......
Read more >
Fortify on Demand Overview - Find vulnerabilities in your ...
This demo shows how Fortify on Demand can scan static code for application security vulnerabilities. The example shown is an SQL injection ...
Read more >
Catching Log4j in the Wild: Find, Fix and Fortify - JFrog
Using Xray CVE Search ... As of December 10, the Apache Log4j security issue has been registered with the National Vulnerability Database (NVD)...
Read more >
Top 50 Interview Questions and Answers for fortify
Fortify SCA is a static application security testing (SAST) offering ... Its main objective is to find vulnerabilities in any software (web ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found