Logo

dev-resources.site

for different kinds of informations.

JMeter 5.4.1 fix for Security CVE-2021-44228 issue

Published at
12/15/2021
Categories
jmeter
cve202144228
security
Author
sebiboga
Categories
3 categories in total
jmeter
open
cve202144228
open
security
open
Author
8 person written this
sebiboga
open
JMeter 5.4.1 fix for Security CVE-2021-44228 issue

In case you installed on Windows, JMeter 5.4.1 from the Github repo: install-jmeter-windows, by now you should know that you are impacted by Security issue CVE-2021-44228 because JMeter is a JAVA application

Here you can find an automatic tool that will fix your vulnerability by downloading the log4j version 2.16

STEPS:

  1. STOP JMeter GUI

  2. download Release v01 from here: https://github.com/sebiboga/jmeter-fix-cve-2021-44228-windows/releases/tag/v01

  3. unzip the Release

  4. double click on cve-2021-44228.bat

In case you didn't installed JMeter in C:\JMeter\apache-jmeter-5.4.1, you'll have to:

  • EDIT the bat file and on row 2, update your location where JMeter is installed;
  • then update all copy commands with correct destination folder

Here is the batch file:

@echo off
cd C:\JMeter\apache-jmeter-5.4.1\lib
del log4j*.*
md C:\JMeter\cve-2021-4428

powershell -command "Invoke-WebRequest   -Uri 'https://dlcdn.apache.org/logging/log4j/2.16.0/apache-log4j-2.16.0-bin.zip' -OutFile 'C:\JMeter\cve-2021-4428\apache-log4j-2.16.0-bin.zip'"
powershell -command "Expand-Archive -Force 'C:\JMeter\cve-2021-4428\apache-log4j-2.16.0-bin.zip' 'C:\JMeter\cve-2021-4428'"
copy C:\JMeter\cve-2021-4428\apache-log4j-2.16.0-bin\log4j-1.2-api-2.16.0.jar  C:\JMeter\apache-jmeter-5.4.1\lib\*.*
copy C:\JMeter\cve-2021-4428\apache-log4j-2.16.0-bin\log4j-api-2.16.0.jar  C:\JMeter\apache-jmeter-5.4.1\lib\*.*
copy C:\JMeter\cve-2021-4428\apache-log4j-2.16.0-bin\log4j-core-2.16.0.jar  C:\JMeter\apache-jmeter-5.4.1\lib\*.*
copy C:\JMeter\cve-2021-4428\apache-log4j-2.16.0-bin\log4j-slf4j-impl-2.16.0.jar  C:\JMeter\apache-jmeter-5.4.1\lib\*.*
Enter fullscreen mode Exit fullscreen mode

Have a nice day!

jmeter Article's
30 articles in total
Favicon
Performance Testing of a medical staffing services web application using JMeter
Favicon
Distributed Load Testing with JMeter in Testkube
Favicon
JMeter vs LoadRunner — Which Tool is Right for You?
Favicon
10 Best Functional Testing Tools for 2024
Favicon
7 Best JMeter Alternative
Favicon
Azure DevOps | Running JMeter Test Collection using JMeter Docker Image
Favicon
peviitor.ro are si locurile de munca de pe ANOFM
Favicon
Stress Testing Your Rails Application Using JMeter
Favicon
JMeter-Dynamic Load Testing of Restful APIs
Favicon
Install JMeter on Mac (Apple Silicon M1,M2,M3... processor)
Favicon
How to optimise JMeter for performance tests
Favicon
Jmeter 테스트
Favicon
Exploring JMeter: A Simple Guide to Its Basic Components
Favicon
Controllers in JMeter!!
Favicon
Mastering JSON Extraction in Apache JMeter for Effective API Testing
Favicon
Unlocking Cosmos DB Potential: Testing API Performance with JMeter!!
Favicon
Guide to Handling Variables in JMeter
Favicon
Hashing Passwords using the md5() Method in Groovy and Using it as a Parameter in JMeter
Favicon
How to use CSV file for parameterization in JMeter
Favicon
Installing Apache JMeter using Homebrew
Favicon
Thread Group in Jmeter: Understanding its Components and Use Cases
Favicon
Loadtest Websocket Server
Favicon
Automatizando a criação de requisições no JMeter utilizando Postman
Favicon
Benefits of using JMeter for Performance Testing
Favicon
Discover issues with performance testing
Favicon
How fix Jmeter on a Mac ? Could not initialize class org.apache.jmeter.gui.util.FileDialoger
Favicon
Jmeter:- How to Send multiple request concurrently/Sequentially in "Jmeter" with different set of values for each request?
Favicon
JMeter Interview Questions
Favicon
Deploy JMeter on AWS using Terraform
Favicon
JMeter 5.4.1 fix for Security CVE-2021-44228 issue

Featured ones: