|
...
|
...
|
@@ -9,14 +9,129 @@ ClamAV 1.5.0 includes the following improvements and changes:
|
|
9
|
9
|
|
|
10
|
10
|
### Major changes
|
|
11
|
11
|
|
|
|
12
|
+- Added checks to determine if an OLE2-based Microsoft Office document is
|
|
|
13
|
+ encrypted.
|
|
|
14
|
+ - [GitHub pull request](https://github.com/Cisco-Talos/clamav/pull/1295)
|
|
|
15
|
+
|
|
|
16
|
+- Added the ability to record URLs found in HTML if the generate-JSON-metadata
|
|
|
17
|
+ feature is enabled.
|
|
|
18
|
+ Also adds an option to disable this in case you want the JSON metadata
|
|
|
19
|
+ feature but don't want to record HTML URLs.
|
|
|
20
|
+ The ClamScan command-line option is `--json-store-html-urls=no`.
|
|
|
21
|
+ The `clamd.conf` config option is `JsonStoreHTMLUrls no`.
|
|
|
22
|
+ - [GitHub pull request](https://github.com/Cisco-Talos/clamav/pull/1281)
|
|
|
23
|
+
|
|
|
24
|
+- Added regex support for the `clamd.conf` `OnAccessExcludePath` config option.
|
|
|
25
|
+ This change courtesy of GitHub user b1tg.
|
|
|
26
|
+ - [GitHub pull request](https://github.com/Cisco-Talos/clamav/pull/1314)
|
|
|
27
|
+
|
|
|
28
|
+- Added FIPS-compliant CVD signing/verification with external `.sign` files.
|
|
|
29
|
+
|
|
|
30
|
+ Freshclam will now attempt to download external signature files to accompany
|
|
|
31
|
+ existing `.cvd` databases and `.cdiff` patch files. Sigtool now has commands
|
|
|
32
|
+ to sign and verify using the external signatures.
|
|
|
33
|
+
|
|
|
34
|
+ ClamAV now installs a 'certs' directory in the app config directory
|
|
|
35
|
+ (e.g. `<prefix>/etc/certs`). The install path is configurable.
|
|
|
36
|
+ The CMake option to configure the CVD certs directory is:
|
|
|
37
|
+ `-D CVD_CERTS_DIRECTORY=PATH`
|
|
|
38
|
+
|
|
|
39
|
+ New options to set an alternative CVD certs directory:
|
|
|
40
|
+ - The command-line option for Freshclam, ClamD, ClamScan, and Sigtool is:
|
|
|
41
|
+ `--cvdcertsdir PATH`
|
|
|
42
|
+ - The environment variable for Freshclam, ClamD, ClamScan, and Sigtool is:
|
|
|
43
|
+ `CVD_CERTS_DIR`
|
|
|
44
|
+ - The config option for Freshclam and ClamD is:
|
|
|
45
|
+ `CVDCertsDirectory PATH`
|
|
|
46
|
+
|
|
|
47
|
+ Added two new APIs to the public clamav.h header:
|
|
|
48
|
+ ```c
|
|
|
49
|
+ extern cl_error_t cl_cvdverify_ex(const char *file,
|
|
|
50
|
+ const char *certs_directory);
|
|
|
51
|
+
|
|
|
52
|
+ extern cl_error_t cl_cvdunpack_ex(const char *file,
|
|
|
53
|
+ const char *dir,
|
|
|
54
|
+ bool dont_verify,
|
|
|
55
|
+ const char *certs_directory);
|
|
|
56
|
+ ```
|
|
|
57
|
+ The original `cl_cvdverify` and `cl_cvdunpack` are deprecated.
|
|
|
58
|
+
|
|
|
59
|
+ Added a `cl_engine_field` enum option `CL_ENGINE_CVDCERTSDIR`.
|
|
|
60
|
+ You may set this option with `cl_engine_set_str` and get it with
|
|
|
61
|
+ `cl_engine_get_str`, to override the compiled in default CVD certs directory.
|
|
|
62
|
+
|
|
|
63
|
+ Thank you to Mark Carey at SAP for inspiring work on this feature with an
|
|
|
64
|
+ initial proof of concept for external-signature FIPS compliant CVD signing.
|
|
|
65
|
+
|
|
|
66
|
+ - [GitHub pull request](https://github.com/Cisco-Talos/clamav/pull/1417)
|
|
|
67
|
+
|
|
12
|
68
|
### Other improvements
|
|
13
|
69
|
|
|
|
70
|
+- Set a limit on the max-recursion config option. Users will no longer be
|
|
|
71
|
+ able to set max-recursion higher than 100.
|
|
|
72
|
+ This change prevents errors on start up or possible crashes if encountering
|
|
|
73
|
+ a file with that many layers of recursion.
|
|
|
74
|
+ - [GitHub pull request](https://github.com/Cisco-Talos/clamav/pull/1264)
|
|
|
75
|
+
|
|
|
76
|
+- Build system: CMake improvements to support compiling for the AIX platform.
|
|
|
77
|
+ This change is courtesy of GitHub user KamathForAIX.
|
|
|
78
|
+ - [GitHub pull request](https://github.com/Cisco-Talos/clamav/pull/1387)
|
|
|
79
|
+
|
|
|
80
|
+- Improve support for extracting malformed zip archives.
|
|
|
81
|
+ This change is courtesy of Frederick Sell.
|
|
|
82
|
+ - [GitHub pull request](https://github.com/Cisco-Talos/clamav/pull/1460)
|
|
|
83
|
+
|
|
|
84
|
+- Windows: Code quality improvement for the ClamScan and ClamDScan `--move`
|
|
|
85
|
+ and `--remove` options.
|
|
|
86
|
+ This change is courtesy of Maxim Suhanov.
|
|
|
87
|
+ - [GitHub pull request](https://github.com/Cisco-Talos/clamav/pull/1470)
|
|
|
88
|
+
|
|
|
89
|
+- Added file type recognition for some kinds of AI model files.
|
|
|
90
|
+
|
|
|
91
|
+ The file type appears as a string parameter for these callback functions:
|
|
|
92
|
+ - `clcb_pre_cache`
|
|
|
93
|
+ - `clcb_pre_scan`
|
|
|
94
|
+ - `clcb_file_inspection`
|
|
|
95
|
+
|
|
|
96
|
+ When scanning these files, the `type` parameter will now show
|
|
|
97
|
+ "CL_TYPE_AI_MODEL" instead of "CL_TYPE_BINARY_DATA".
|
|
|
98
|
+ - [GitHub pull request](https://github.com/Cisco-Talos/clamav/pull/1476)
|
|
|
99
|
+
|
|
14
|
100
|
### Bug fixes
|
|
15
|
101
|
|
|
|
102
|
+- Technical debt: Reduced email multipart message parser complexity.
|
|
|
103
|
+ - [GitHub pull request](https://github.com/Cisco-Talos/clamav/pull/1347)
|
|
|
104
|
+
|
|
|
105
|
+- Fixed possible undefined behavior in inflate64 module.
|
|
|
106
|
+ The inflate64 module is a modified version of the zlib library, taken from
|
|
|
107
|
+ version 1.2.3 with some customization and with some cherry-picked fixes.
|
|
|
108
|
+ This adds one additional fix from zlib 1.2.9.
|
|
|
109
|
+ Thank you to TITAN Team for reporting this issue.
|
|
|
110
|
+ - [GitHub pull request](https://github.com/Cisco-Talos/clamav/pull/1469)
|
|
|
111
|
+
|
|
|
112
|
+- Fixed a bug in ClamD that broke reporting of memory usage on Linux.
|
|
|
113
|
+ The STATS command can be used to monitor ClamD directly or through ClamDTOP.
|
|
|
114
|
+ The memory stats feature does not work on all platforms (e.g. Windows).
|
|
|
115
|
+ - [GitHub pull request](https://github.com/Cisco-Talos/clamav/pull/1465)
|
|
|
116
|
+
|
|
|
117
|
+- Windows: Fix a build issue when the same library dependency is found in
|
|
|
118
|
+ two different locations.
|
|
|
119
|
+ - [GitHub pull request](https://github.com/Cisco-Talos/clamav/pull/1453)
|
|
|
120
|
+
|
|
|
121
|
+- Fix an infinite loop when scanning some email files in debug-mode.
|
|
|
122
|
+ This fix is courtesy of Yoann Lecuyer
|
|
|
123
|
+ - [GitHub pull request](https://github.com/Cisco-Talos/clamav/pull/1445)
|
|
|
124
|
+
|
|
16
|
125
|
### Acknowledgments
|
|
17
|
126
|
|
|
18
|
127
|
Special thanks to the following people for code contributions and bug reports:
|
|
19
|
|
-
|
|
|
128
|
+- b1tg
|
|
|
129
|
+- Frederick Sell
|
|
|
130
|
+- KamathForAIX
|
|
|
131
|
+- Mark Carey at SAP
|
|
|
132
|
+- Maxim Suhanov
|
|
|
133
|
+- TITAN Team
|
|
|
134
|
+- Yoann Lecuyer
|
|
20
|
135
|
|
|
21
|
136
|
## 1.4.0
|
|
22
|
137
|
|