You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use these packages in versions not affected by security vulnerabilities, PHP 8.1 is the minimum required version.
694
+
695
+
For projects meeting this requirement, you can update the packages with Composer.
696
+
697
+
If you're using PHP 7.4 or 8.0, to do the [[= product_name =]] update, you have two options:
698
+
699
+
#### Update PHP, the custom code, then the platform (recommended)
700
+
701
+
Make sure to use on PHP 8.1 or higher.
702
+
Migrate custom code to be compatible with PHP 8.1 or higher, for example by using [Rector](https://github.com/rectorphp/rector).
703
+
Then, update Ibexa DXP.
704
+
705
+
#### Implement other countermeasures
706
+
707
+
If updating the Twig packages isn't possible, for example, because the project is using PHP 7.4 or 8.0 where the fixes are not available, review the security issues carefully and assess the danger.
708
+
709
+
If you choose to implement countermeasures without upgrading PHP and updating Twig, you can silence the advisories in `composer.json`:
710
+
711
+
```json
712
+
"config": {
713
+
"audit": {
714
+
"ignore": {
715
+
"PKSA-5k7f-wvjj-jrgw": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
716
+
"PKSA-sjvz-tbbr-vwth": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
717
+
"PKSA-h8hf-ytnd-5t9q": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
718
+
"PKSA-wwb1-81rc-pd65": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
719
+
"PKSA-hgmw-wn4d-hpcy": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
720
+
"PKSA-kvv6-36cr-fkzb": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
721
+
"PKSA-n14z-jjjg-g8vd": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
722
+
"PKSA-3mcc-k66d-pydb": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
723
+
"PKSA-gw7n-z4yx-7xjt": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
724
+
"PKSA-dpx1-78wg-1kqs": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
725
+
"PKSA-21g2-dzjv-sky5": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
726
+
"PKSA-yhcn-xrg3-68b1": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
727
+
"PKSA-2wrf-1xmk-1pky": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
728
+
"PKSA-6319-ffpf-gx66": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
729
+
"PKSA-n7sg-8f52-pqtf": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
730
+
"PKSA-8kk8-h2xr-h5nx": "Description of the countermeasures you've implemented causing this one to be safe to ignore.",
731
+
"PKSA-2rbx-bjdx-4d4d": "Description of the countermeasures you've implemented causing this one to be safe to ignore."
732
+
}
733
+
}
734
+
}
735
+
```
736
+
737
+
In addition, consider upgrading your project to one of [the actively supported PHP versions](requirements.md#php).
738
+
667
739
## LTS Updates
668
740
669
741
[LTS Updates](https://doc.ibexa.co/en/4.6/ibexa_products/editions/#lts-updates) are standalone packages with their own update procedures.
When using Varnish or Fastly, update your [VCL files](reverse_proxy.md#vcl-base-files) to align with the ones from [`vendor/ibexa/http-cache/docs/varnish/vcl/`](https://github.com/ibexa/http-cache/tree/v5.0.8/docs/varnish/vcl) or `vendor/ibexa/fastly/fastly/`,
456
+
especially if you plan to use the [Anonymous user segmentation in [[= product_name_cdp =]]](https://doc.ibexa.co/en/5.0/cdp/cdp_activation/cdp_configuration/#anonymous-user-segmentation).
457
+
Make sure it contains the highlighted addition:
458
+
459
+
``` vcl hl_lines="2 3"
460
+
set req.http.cookie = regsuball(req.http.cookie, ";(ibexa[-_][^=]*)=", "; \1=");
461
+
// Keep the Raptor anonymous visitor identifier cookie so CDP segmentation can resolve visitor segments.
462
+
set req.http.cookie = regsuball(req.http.cookie, ";(rsa)=", "; \1=");
463
+
set req.http.cookie = regsuball(req.http.cookie, ";[^ ][^;]*", "");
464
+
```
465
+
451
466
## LTS Updates and additional packages
452
467
453
468
[LTS Updates](editions.md#lts-updates) are standalone packages with their own update procedures.
@@ -488,9 +503,3 @@ To use the [latest features](ibexa_dxp_v5.0.md) added to them, update them separ
0 commit comments