apache / apache/daffodil-vscode

Possible fix(deps): 2 vulnerable dependencies in yarn.lock

Open Beginner friendly
#1,776 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
18
Forks
33
Avg merge
3d 6h
Merged PRs (30d)
7

Description

This might be a false positive, but `yarn.lock` around line 402 looked worth a second pair of eyes.

The project uses @grpc/grpc-js version 1.12.2, which is vulnerable to CVE-2026-48068. An attacker can send a malformed HTTP/2 stream that triggers an unhandled exception, causing the gRPC server process to crash. This denial‑of‑service condition is classified as HIGH severity because it can bring down critical services. Upgrading to a patched release (≥ 1.12.7, or any of the listed fixed versions) eliminates the flaw.

Something like this might fix it:

````diff
```diff
--- a/yarn.lock
+++ b/yarn.lock
@@
-@grpc/grpc-js@1.12.2:
- version "1.12.2"
- resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.12.2.tgz#..."
- integrity sha512-...
- dependencies:
- ...
+@grpc/grpc-js@1.14.4:
+ version "1.14.4"
+ resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.14.4.tgz#..."
+ integrity sha512-...
+ dependencies:
+ ...
```
````

For reference: rule `CVE-2026-48068`. Rated high.

The suggested change is untested against this project, so please read it before applying it.

---
*Found with automated scanning ([RedGem](https://code.redgem.net)) and reviewed before opening. If it is not useful, closing it is completely fine.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect yarn.lock around line 402 and confirm how @grpc/grpc-js 1.12.2 is resolved in this project. Check the available patched release and update the lockfile only if compatible, then run the project's existing validation or build checks. Done means the vulnerable dependency is resolved to a patched version without breaking the extension.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, typescript
Domain
backend-api-design, security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.