Describe the issue or problem
I used Acunetix to scan my newly installed OJS 3.3.0-4 version website for vulnerabilities.Then the following weaknesses appear, how to solve them?
1.Chart.js Improper Input Validation Vulnerability
Description
This affects the package chart.js before 2.9.4. The options parameter is not properly sanitized when it is processed. When the options areprocessed, the existing options (or the defaults options) are deeply merged with provided options. However, during this operation, the keys of theobject being set are not checked, leading to a prototype pollution.
2.jQuery Validation Other Vulnerability
Description
The jQuery Validation Plugin (jquery-validation) provides drop-in validation for forms. Versions of jquery-validation prior to 1.19.5 are vulnerable toregular expression denial of service (ReDoS) when an attacker is able to supply arbitrary input to the url2 method. This is due to an incomplete fixfor CVE-2021-43306. Users should upgrade to version 1.19.5 to receive a patch.
Description
An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the jquery-validation npm package, when an attacker is able tosupply arbitrary input to the url2 method
3.Vulnerable package dependencies [high]
Description
One or more packages that are used in your web application are affected by known vulnerabilities. Please consult the details section for moreinformation about each affected package.
Affected items
/lib/pkp/
Details
List of vulnerable
composer
packages:
Package:
adodb/adodb-php
Version:
5.20.18
CVE:
CVE-2021-3850
Title:
Improper Authentication
Description:
Authentication Bypass by Primary Weakness in GitHub repository adodb/adodb prior to 5.20.21.
CVSS V2:
AV:N/AC:L/Au:N/C:P/I:P/A:N
CVSS V3:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CWE:
CWE-287
References:
https://huntr.dev/bounties/bdf5f216-4499-4225-a737-b28bc6f5801c
https://lists.debian.org/debian-lts-announce/2022/02/msg00006.html
https://www.debian.org/security/2022/dsa-5101
Steps I took leading up to the issue
N/A
What application are you using?
OJS 3.3.0-4
Additional information
N/A