Skip to content

Commit c13dd7e

Browse files
refactor: Resolve HTTP kernel vulnerability (#8)
* fixed: Avoid using symfony/http-kernel < 5.4.20 * docs: Add changelog entry
1 parent 60603d4 commit c13dd7e

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CHANGELOG.md

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

77
## [Unreleased]
8+
### Fixed
9+
- Resolve CVE-2022-24894 [PR#8](https://github.com/JsonMapper/SymfonyBundle/pull/8)
810

911
## [2.2.0] - 2022-01-16
1012
### Added

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"require": {
1515
"json-mapper/json-mapper": "^2.0",
1616
"php": "^7.2 || ^8.0",
17-
"symfony/http-kernel": "^4.4 | ^5.1.5 | ^6.0",
1817
"symfony/dependency-injection": "^4.4 | ^5.0 | ^6.0",
19-
"symfony/config": "^4.4 | ^5.0 | ^6.0"
18+
"symfony/config": "^4.4 | ^5.0 | ^6.0",
19+
"symfony/http-kernel": "^4.4 | ^5.4.20 | ^6.0"
2020
},
2121
"autoload": {
2222
"psr-4": {

src/DependencyInjection/JsonMapperExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace JsonMapper\SymfonyBundle\DependencyInjection;
66

77
use Symfony\Component\Config\FileLocator;
8-
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
8+
use Symfony\Component\DependencyInjection\Extension\Extension;
99
use Symfony\Component\DependencyInjection\ContainerBuilder;
1010
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
1111

0 commit comments

Comments
 (0)