emv-bertlv icon indicating copy to clipboard operation
emv-bertlv copied to clipboard

SnakeYml 2.0 incompatibility

Open vicctor opened this issue 2 years ago • 1 comments

Because SnakeYaml due to https://www.cve.org/CVERecord?id=CVE-2022-1471 has been updated and in version 2.0 does not support class Constructor with an empty constructor, it's not possible to update SnakeYaml to 2.0 version. Trying to update SnakeYaml in a project using emv library results with error:

Exception in thread "main" java.lang.NoSuchMethodError: org.yaml.snakeyaml.constructor.Constructor: method 'void <init>()' not found
	at io.github.binaryfoo.TagMetaData$Companion.load(TagMetaData.kt:70)
	at io.github.binaryfoo.TagMetaData.load(TagMetaData.kt)
	at io.github.binaryfoo.EmvTags.<clinit>(EmvTags.java:9)
	at org.test.EmvTagsChecker.main(EmvTagsChecker.java:8)

vicctor avatar Mar 28 '23 18:03 vicctor

I am having the same issue, Is there any workaround for this issue?

aadusumilli avatar Feb 05 '25 17:02 aadusumilli