Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2022-45379 — script-security

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-326 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Whole-script approval in Jenkins Script Security Plugin vulnerable to SHA-1 collisions

Script Security Plugin 1189.vb_a_b_7c8fd5fde and earlier stores whole-script approvals as the [SHA-1 hash](https://en.wikipedia.org/wiki/SHA-1) of the approved script. SHA-1 no longer meets the security standards for producing a cryptographically secure message digest.

Script Security Plugin 1190.v65867a_a_47126 uses SHA-512 for new whole-script approvals. Previously approved scripts will have their SHA-1 based whole-script approval replaced with a corresponding SHA-512 whole-script approval when the script is next used.

Whole-script approval only stores the SHA-1 or SHA-512 hash, so it is not possible to migrate all previously approved scripts automatically on startup.

Administrators concerned about SHA-1 collision attacks on the whole-script approval feature are able to revoke all previous (SHA-1) script approvals on the In-Process Script Approval page.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: None.
  • Availability impact: None.

Weakness class

CVE-2022-45379 is classified as CWE-326: Inadequate Encryption Strength. Encryption is applied, but with a key length or scheme too weak to resist a realistic attacker.

Affected software

CVE-2022-45379 is recorded against 2 packages.

  • org.jenkins-ci.plugins:script-security (fixed in 1190.v65867a_a_47126)
  • script-security (fixed in 1190.v65867a_a_47126)

Timeline and source

Published on 16 November 2022 and last revised on 16 February 2024. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
www.jenkins.io (Web)
www.openwall.com (Web)

Other advisories for this package

org.jenkins-ci.plugins:script-security has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-326: Inadequate Encryption Strength) in other software:

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE CWE-326
Public Exploit ✅ No
Source NVD
Published 2022-11-16
Updated 2026-08-20
Modified 2024-02-16
Fix URL N/A

Affected Packages

Software From version Fixed in
org.jenkins-ci.plugins:script-security — 1190.v65867a_a_47126
script-security — 1190.v65867a_a_47126

Similar Threats

Site Security Check

Is script-security part of your stack?

CVE-2022-45379 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2022
✓