Splunk Dev

How to fix error: Detect usage of JavaScript libraries with known vulnerabilities in AppInspect

Shukran
Explorer

Hello,

I am trying to fix an error in for an inherited add-on that i am maintaining.

category: app_cert_validation
description: Detect usage of JavaScript libraries with known vulnerabilities.
ext_data: { [+]
message_id: 7002
rule_name: Validate app certification
severity: Fatal
solution: 3rd party CORS request may execute parseHTML) executes scripts in event handlers jQuery before 3.4.0, as used in Drupal Backdrop CMS, and other products, mishandles jQuery.extend(true, (], ..) because of Object.prototype pollution Regex in its Query.htmlPrefilter sometimes may introduce XSS Regex in its jQuery.htmlPrefilter sometimes may introduce XSS reDOS - regular expression denial of service Regular Expression Denial of Service (ReDoS) Regular Expression Denial of Service (ReDoS) This vulnerability impacts pm (server) users of moment. js, especially if user provided locale string, eg fr is directly used to switch moment locale.
status: Fail
sub_category: Checks related to JavaScript usage

I checked some community questions, one of the answer mentions the below fix.

  1. Export the app from any Add-on Builder
  2. Import the app into Add-on Builder v4.1.0 or newer
  3. Download the app packaged from Add-on Builder v4.1.0 or newer

I don't have the original app export and cannot import that to new AOB. I tried importing a tgz file but that gives an error.

Is there any other way I can fix this or something else i can try?

Labels (4)
0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...