Description
To be able to analyze gradle projects, the build scripts need to be executed. Apache NetBeans follows this pattern. This causes the code of the build script to be invoked at load time of the project. Apache NetBeans up to and including 12.0 did not request consent from the user for the analysis of the project at load time. This in turn will run potentially malicious code, from an external source, without the consent of the user.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Apache NetBeans | Apache NetBeans up to 12.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | netbeans | 12.1-1 | — |
| Debian 13 | netbeans | 12.1-1 | — |
| Debian 12 | netbeans | 12.1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | netbeans | No fix yet | — |
| Ubuntu 26.04 LTS | netbeans | No fix yet | — |
| Ubuntu 25.10 | netbeans | No fix yet | — |
| Ubuntu 24.04 LTS | netbeans | No fix yet | — |
| Ubuntu 22.04 LTS | netbeans | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | netbeans | No fix yet | — |
| Ubuntu 18.04 LTS | netbeans | No fix yet | — |
| Ubuntu 16.04 LTS | netbeans | No fix yet | — |
References
- https://lists.apache.org/thread.html/rbb8ea1b684e73107a0a6a30245ad6112bec2e6e171368c808e69217e%40%3Cannounce.netbeans.apache.org%3E
- [netbeans-notifications] 20210322 [GitHub] [netbeans] jtulach commented on pull request #2822: Offer to trust and prime the project when it is being opened. mailing-list
- [netbeans-notifications] 20210322 [GitHub] [netbeans] jtulach edited a comment on pull request #2822: Offer to trust and prime the project when it is being opened. mailing-list