Skip to content

Commit

Permalink
Release v1.21.0 (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anilm3 authored Nov 13, 2024
1 parent 8575eca commit 65e2d3d
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,47 @@
# libddwaf release
## v1.21.0 ([unstable](https://github.com/DataDog/libddwaf/blob/master/README.md#versioning-semantics))
### New features

This new version of `libddwaf` only introduces one new feature, alongside other fixes and behind-the-scenes changes and improvements.

#### Exploit prevention: Command injection detection
A new operator `cmdi_detector` has been introduced for detecting and blocking command injections. This heuristics builds on the shell injection heuristic in order to detect injections on non-shell APIs, including indirect shell injections. This new operator is part of the exploit prevention feature, so it is meant to be used in combination with targeted instrumentation.

The following example rule takes advantage of the new operator to identify injections originating from request parameters:

```yaml
- id: rsp-930-005
name: CMDi Exploit detection
tags:
type: cmdi
category: exploit_detection
module: rasp
conditions:
- parameters:
resource:
- address: server.sys.exec.cmd
params:
- address: server.request.query
- address: server.request.body
- address: server.request.path_params
- address: grpc.server.request.message
- address: graphql.server.all_resolvers
- address: graphql.server.resolver
operator: cmdi_detector
```
### Release changelog
#### Changes
- Command injection detection operator ([#354](https://github.com/DataDog/libddwaf/pull/354)) ([#356](https://github.com/DataDog/libddwaf/pull/356))
#### Fixes
- Disable a few patterns that caused false positives ([#355](https://github.com/DataDog/libddwaf/pull/355))
#### Miscellaneous
- Fix build on macos-14 ([#349](https://github.com/DataDog/libddwaf/pull/349))
- Support `(min|max)_version` on `verify_rule` utility ([#350](https://github.com/DataDog/libddwaf/pull/350))
- Reorganise tests ([#351](https://github.com/DataDog/libddwaf/pull/351))
- Auto-retry flaky build steps & downgrade to macos-13 ([#357](https://github.com/DataDog/libddwaf/pull/357))

## v1.20.1 ([unstable](https://github.com/DataDog/libddwaf/blob/master/README.md#versioning-semantics))
#### Changes
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.20.1
1.21.0

0 comments on commit 65e2d3d

Please sign in to comment.