fix: resolve CVE-2025-9288 and CVE-2025-9287 in sha.js and cipher-base (#41284)

## Description
EE Shadow PR: https://github.com/appsmithorg/appsmith-ee/pull/8226

Fixes CVE-2025-9288
Fixes CVE-2025-9287

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/18306326151>
> Commit: 75166362114f950aa5e4d5f53793329a495b404c
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=18306326151&attempt=5"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Tue, 07 Oct 2025 13:45:02 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* Chores
* Updated client-side dependencies and locked specific versions to
improve app stability and compatibility.
* Added resolution overrides to ensure consistent builds across
environments and reduce dependency-related issues.
* These updates are behind the scenes and do not change the user
interface or workflows.
* No impact on exported APIs; functionality remains unchanged for
end-users.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
subratadeypappu 2025-10-08 12:25:24 +06:00 committed by GitHub
parent 336d318222
commit d1dfa4436c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 13 deletions

View File

@ -418,6 +418,8 @@
"trim": "0.0.3", "trim": "0.0.3",
"webpack": "5.98.0", "webpack": "5.98.0",
"on-headers": "1.1.0", "on-headers": "1.1.0",
"sha.js": "2.4.12",
"cipher-base": "1.0.6",
"@blueprintjs/core@^3.43.0": "patch:@blueprintjs/core@npm%3A3.47.0#./.yarn/patches/@blueprintjs-core-npm-3.47.0-a5bc1ea927.patch", "@blueprintjs/core@^3.43.0": "patch:@blueprintjs/core@npm%3A3.47.0#./.yarn/patches/@blueprintjs-core-npm-3.47.0-a5bc1ea927.patch",
"@blueprintjs/core@^3.33.0": "patch:@blueprintjs/core@npm%3A3.47.0#./.yarn/patches/@blueprintjs-core-npm-3.47.0-a5bc1ea927.patch", "@blueprintjs/core@^3.33.0": "patch:@blueprintjs/core@npm%3A3.47.0#./.yarn/patches/@blueprintjs-core-npm-3.47.0-a5bc1ea927.patch",
"@blueprintjs/core@^3.47.0": "patch:@blueprintjs/core@npm%3A3.47.0#./.yarn/patches/@blueprintjs-core-npm-3.47.0-a5bc1ea927.patch", "@blueprintjs/core@^3.47.0": "patch:@blueprintjs/core@npm%3A3.47.0#./.yarn/patches/@blueprintjs-core-npm-3.47.0-a5bc1ea927.patch",

View File

@ -15786,13 +15786,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"cipher-base@npm:^1.0.0, cipher-base@npm:^1.0.1, cipher-base@npm:^1.0.3": "cipher-base@npm:1.0.6":
version: 1.0.4 version: 1.0.6
resolution: "cipher-base@npm:1.0.4" resolution: "cipher-base@npm:1.0.6"
dependencies: dependencies:
inherits: ^2.0.1 inherits: ^2.0.4
safe-buffer: ^5.0.1 safe-buffer: ^5.2.1
checksum: 47d3568dbc17431a339bad1fe7dff83ac0891be8206911ace3d3b818fc695f376df809bea406e759cdea07fff4b454fa25f1013e648851bec790c1d75763032e checksum: 64a1738a8583163cf096bc85321a69ef3075bb0873f34cf89dc705e62b9eee058dd6b2e5c672f774ede0b6bdbe56fe7b710e0d38c4f08a2f355d8ab828f05c6f
languageName: node languageName: node
linkType: hard linkType: hard
@ -31943,15 +31943,16 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"sha.js@npm:^2.4.0, sha.js@npm:^2.4.11, sha.js@npm:^2.4.8, sha.js@npm:~2.4.4": "sha.js@npm:2.4.12":
version: 2.4.11 version: 2.4.12
resolution: "sha.js@npm:2.4.11" resolution: "sha.js@npm:2.4.12"
dependencies: dependencies:
inherits: ^2.0.1 inherits: ^2.0.4
safe-buffer: ^5.0.1 safe-buffer: ^5.2.1
to-buffer: ^1.2.0
bin: bin:
sha.js: ./bin.js sha.js: bin.js
checksum: ebd3f59d4b799000699097dadb831c8e3da3eb579144fd7eb7a19484cbcbb7aca3c68ba2bb362242eb09e33217de3b4ea56e4678184c334323eca24a58e3ad07 checksum: 9ec0fe39cc402acb33ffb18d261b52013485a2a9569a1873ff1861510a67b9ea2b3ccc78ab8aa09c34e1e85a5f06e18ab83637715509c6153ba8d537bbd2c29d
languageName: node languageName: node
linkType: hard linkType: hard