Skip to content

Commit 07149e2

Browse files
authored
Update to version v3.2.8 (#185)
1 parent c81fa73 commit 07149e2

File tree

35 files changed

+249
-366
lines changed

35 files changed

+249
-366
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [3.2.8] - 2024-04-15
9+
10+
### Updated
11+
12+
- Updated webpack-dev-middleware from 5.3.3 to 5.3.4 to resolve security vulnerability [CVE-2024-29180]
13+
- Updated express from 4.18.1 to 4.19.2 to resolve security vulnerability [CVE-2024-29041]
14+
- Updated follow-redirects from 1.15.4 to 1.15.6 to resolve security vulnerability [CVE-2024-28849]
15+
- Updated docker image to resolve security vulnerabilities
16+
17+
### Fixed
18+
19+
- Fixed issues pertaining to [https://github.com/aws-solutions/distributed-load-testing-on-aws/issues/170]
20+
- Fixed issues pertaining the update stack problem from versions before DLT v3.2.6 to DLT versions after 3.2.6
21+
822
## [3.2.7] - 2024-03-11
923

1024
### Fixed

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.7
1+
3.2.8

deployment/ecr/distributed-load-testing-on-aws-load-tester/Dockerfile

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,11 @@ RUN chmod 755 /bzt-configs/ecscontroller.py
2020
RUN chmod 755 /bzt-configs/jar_updater.py
2121
RUN python3 /bzt-configs/jar_updater.py
2222

23-
# Fixing CVE-2023-22796
24-
WORKDIR /usr/local/rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/rbs-2.8.2/steep
25-
RUN sed -i 's/7.0.4/7.0.7.1/g' Gemfile.lock
26-
RUN gem install activesupport -v 7.0.7.1
23+
# Remove K6 as it is not supported in DLT by default
24+
RUN apt remove -y k6
2725

28-
# Fixing CVE-2023-36617
29-
WORKDIR /usr/local/rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/specifications/default
30-
RUN sed -i 's/0.12.1/0.12.2.0/g' uri-0.12.1.gemspec
31-
RUN mv uri-0.12.1.gemspec uri-0.12.2.gemspec
32-
RUN gem install --default uri -v 0.12.2.0
26+
RUN /bin/bash -c "source /etc/profile.d/rbenv.sh && yes | rbenv uninstall $(cat /usr/local/rbenv/version)"
27+
RUN rm -rf /usr/local/rbenv
3328

3429
# Replacing urllib3 with more stable Versions to resolve vulnerabilities
3530
RUN pip install urllib3==2.0.7
@@ -48,11 +43,17 @@ RUN cp -r /usr/local/lib/python3.10/dist-packages/cryptography* /root/.bzt/pytho
4843

4944
# Replacing Pillow with more stable version resolve CVE-2023-50447
5045
RUN rm -rf /root/.local/lib/python3.10/site-packages/Pillow*
51-
RUN pip install --upgrade pillow --target /root/.local/lib/python3.10/site-packages/
46+
RUN pip install pillow==10.3.0
47+
RUN cp -r /usr/local/lib/python3.10/dist-packages/pillow* /root/.local/lib/python3.10/site-packages/
5248

53-
# Replaing aiohttp with more stable version to resolve CVE-2024-23334
49+
# Replacing aiohttp with more stable version to resolve CVE-2024-23334
5450
RUN rm -rf /usr/local/lib/python3.10/dist-packages/aiohttp*
5551
RUN pip install --upgrade aiohttp
5652

53+
# Replacing idna with more stable version to resolve CVE-2024-3651
54+
RUN pip install --upgrade idna
55+
RUN rm -rf /root/.bzt/python-packages/3.10.12/idna*
56+
RUN cp -r /usr/local/lib/python3.10/dist-packages/idna* /root/.bzt/python-packages/3.10.12/
57+
5758
WORKDIR /bzt-configs/
5859
ENTRYPOINT ["./load-test.sh"]

deployment/ecr/distributed-load-testing-on-aws-load-tester/jar_updater.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* batik-transcoder v1.14 will be replaced with v1.17
1818
* lets-plot-batik v2.2.1 will be replaced with 4.2.0
1919
* commons-net v3.8.0 will be replaced with v3.9.0
20+
* tika-core v1.28.3 will be replaced with v2.9.2
2021
2122
Also jmeter plugins manager will be updated to v1.10 to address CVEs and cmdrunner will be updated to v2.3 to accomodate with plugins manager.
2223
"""
@@ -31,7 +32,9 @@
3132
"batik-bridge": "org/apache/xmlgraphics/batik-bridge/1.17/batik-bridge-1.17.jar",
3233
"batik-transcoder": "org/apache/xmlgraphics/batik-transcoder/1.17/batik-transcoder-1.17.jar",
3334
"lets-plot-batik": "org/jetbrains/lets-plot/lets-plot-batik/4.2.0/lets-plot-batik-4.2.0.jar",
34-
"commons-net": "commons-net/commons-net/3.9.0/commons-net-3.9.0.jar"
35+
"commons-net": "commons-net/commons-net/3.9.0/commons-net-3.9.0.jar",
36+
"tika-core": "org/apache/tika/tika-core/2.9.2/tika-core-2.9.2.jar",
37+
3538
}
3639
JMETER_VERSION = "5.5"
3740
JMETER_PLUGINS_MANAGER_VERSION = "1.10"

source/api-services/lib/metrics/index.js

Lines changed: 0 additions & 47 deletions
This file was deleted.

source/api-services/lib/metrics/index.spec.js

Lines changed: 0 additions & 44 deletions
This file was deleted.

source/api-services/lib/scenarios/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,11 @@ const scheduleTest = async (event, context) => {
252252

253253
if (config.scheduleStep === "create") {
254254
const createRun = new Date(year, parseInt(month, 10) - 1, day, hour, minute);
255-
256255
// Schedule for 1 min prior to account for time it takes to create rule
257256
// getMonth() returns Jan with index Zero that is why months need a +1
258257
// refrence https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMonth
259-
const cronStart = `cron(${createRun.getMinutes() - 1} ${createRun.getHours()} ${createRun.getDate()} ${
258+
createRun.setMinutes(createRun.getMinutes() - 1);
259+
const cronStart = `cron(${createRun.getMinutes()} ${createRun.getHours()} ${createRun.getDate()} ${
260260
createRun.getMonth() + 1
261261
} ? ${createRun.getFullYear()})`;
262262
scheduleRecurrence = config.recurrence;

source/api-services/package-lock.json

Lines changed: 6 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/api-services/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "api-services",
3-
"version": "3.2.7",
3+
"version": "3.2.8",
44
"description": "REST API micro services",
55
"repository": {
66
"type": "git",

source/console/package-lock.json

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/console/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "distributed-load-testing-on-aws-ui",
3-
"version": "3.2.7",
3+
"version": "3.2.8",
44
"private": true,
55
"license": "Apache-2.0",
66
"author": {

0 commit comments

Comments
 (0)