• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

database-rider / database-rider / #893 / 1
84%
master: 84%

Build:
DEFAULT BRANCH: master
Ran 17 Mar 2024 08:58PM UTC
Files 117
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Mar 2024 08:36PM UTC coverage: 84.091% (-0.3%) from 84.412%
#893.1

push

rmpestano
Add SnakeYAML 2.x compatibility

SnakeYaml 2.0 solved the unsafe deserialization vulnerability
by changing the default behavior of constructed `Yaml`
instance to restrict types which can be instantiated during
deserialization.

This behavior made impossible to define custom DataSet
replacers in YAML as they must be instantiated during
deserialization.

E.g.
caseInsensitiveStrategy: !!com.github.database.rider.core.api.configuration.Orthography 'LOWERCASE'
properties:
  replacers: [!!my.package.WktReplacer {}]

Both `Orthography` enum and `WktReplacer` could not be
instantiated during YAML deserialization.

This commit fixes this behavior by configuring SnakeYAML 2.x
to use the old behavior (allow any class to be instantiated).

This is acceptable solution as dbunit.yml is loaded from the
trusted source, so the mentioned vulnerability is not relevant
here.

See:
* https://www.cve.org/CVERecord?id=CVE-2022-1471

Fixes #575

3071 of 3652 relevant lines covered (84.09%)

0.84 hits per line

Source Files on job #893.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 893
  • 04faeb35 on github
  • Prev Job for on master (##892.1)
  • Next Job for on master (##894.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc