Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulnerability Detector is not generating alerts for NPM packages in Windows #23359

Closed
SeyiSoneye opened this issue May 9, 2024 · 1 comment
Closed
Assignees
Labels
level/task type/bug Something isn't working

Comments

@SeyiSoneye
Copy link
Member

Wazuh version Component Install type Install method Platform
4.8.0-rc1 Vulnerability detector Manager Packages Windows 11

Description

It has been detected in #23244 that Vulnerability Detection is currently not generating alerts for NPM packages on Windows 11.

Steps to reproduce

  • Install a manager
  • Install and register a Windows 11 agent
  • Install a NPM package
PS C:\Users\Administrator> npm install -g axios@0.1.0
npm WARN deprecated axios@0.1.0: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410

added 2 packages in 526ms

PS C:\Users\Administrator> npm list axios
Administrator@ C:\Users\Adminstrator
`-- axios@0.1.0

Check that after Syscollector scans, the package is detected and the vulnerability was included in the inventory but no alert was generated.

Vulnerability detected in Inventory
image

No event generated
image

Check that after uninstalling the NPM package, the package is no longer detected and the vulnerability was not included in the inventory but no alert was generated.

Vulnerabilities removed from inventory:
image

No events in Events tab
image

@Dwordcito
Copy link
Member

Probably the same thing reported here:

#23338 (comment)

If you have tested this without restarting the agent, please reopen the issue.

@Dwordcito Dwordcito closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task type/bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

4 participants