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
Copy file name to clipboardExpand all lines: docs/developer-guide/mapstore-migration-guide.md
+68Lines changed: 68 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,74 @@ This is a list of things to check if you want to update from a previous version
20
20
- Optionally check also accessory files like `.eslinrc`, if you want to keep aligned with lint standards.
21
21
- Follow the instructions below, in order, from your version to the one you want to update to.
22
22
23
+
## Migration from 2021.02.00 to 2021.02.01
24
+
25
+
This update contains a fix for a minor vulnerability found in `log4j` library.
26
+
For this reason you may need to update the dependencies of your project
27
+
28
+
!!! note
29
+
This vulnerability **is not**[CVE-2021-44228](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44228)
30
+
but only a couple of smaller ones, that involve `Log4J` ( [CVE-2021-44228](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44228) is for `Log4J2` ).
31
+
Anyway MapStore is not prone to these vulnerabilities with the default configuration.
32
+
For more information, see the dedicated [blog post](https://www.geosolutionsgroup.com/blog/geosolutions-lo4shell/)
33
+
34
+
here the instructions:
35
+
36
+
### Align `pom.xml` files
37
+
38
+
Here the changes in `pom.xml` and `web/pom.xml` to update:
39
+
40
+
- Change `mapstore-backend` into `mapstore-services` and set the version to `1.2.2`
41
+
42
+
```diff
43
+
<!-- MapStore backend -->
44
+
<dependency>
45
+
<groupId>it.geosolutions.mapstore</groupId>
46
+
- <artifactId>mapstore-backend</artifactId>
47
+
- <version>1.2.1</version>
48
+
+ <artifactId>mapstore-services</artifactId>
49
+
+ <version>1.2.2</version>
50
+
</dependency>
51
+
```
52
+
53
+
- Set `geostore-webapp` version to `1.7.1`
54
+
55
+
```diff
56
+
<dependency>
57
+
<groupId>it.geosolutions.geostore</groupId>
58
+
<artifactId>geostore-webapp</artifactId>
59
+
- <version>1.7.0</version>
60
+
+ <version>1.7.1</version>
61
+
<type>war</type>
62
+
<scope>runtime</scope>
63
+
</dependency>
64
+
```
65
+
66
+
- Set `http_proxy` version to `1.1.1` (should already be there)
67
+
68
+
```diff
69
+
<dependency>
70
+
<!-- ... -->
71
+
<groupId>proxy</groupId>
72
+
<artifactId>http_proxy</artifactId>
73
+
- <version>1.1.0</version>
74
+
+ <version>1.1.1</version>
75
+
<type>war</type>
76
+
<scope>runtime</scope>
77
+
</dependency>
78
+
```
79
+
80
+
- Set `print-lib` version `geosolutions-2.0` to version `geosolutions-2.0.1`
0 commit comments