PeterO.Cbor 2.5.1

Details
Advisory: https://github.com/advisories/GHSA-cxw4-9qv9-vx5h Severity: high
Additional Details

Use PeterO.Cbor version 4.1.0 (or the latest available version) rather than this legacy version.

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package PeterO.Cbor --version 2.5.1
NuGet\Install-Package PeterO.Cbor -Version 2.5.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PeterO.Cbor" Version="2.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PeterO.Cbor --version 2.5.1
#r "nuget: PeterO.Cbor, 2.5.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PeterO.Cbor as a Cake Addin
#addin nuget:?package=PeterO.Cbor&version=2.5.1

// Install PeterO.Cbor as a Cake Tool
#tool nuget:?package=PeterO.Cbor&version=2.5.1

A C# implementation of Concise Binary Object Representation (CBOR), a general-purpose binary data format defined in RFC 7049. According to that RFC, CBOR's data model "is an extended version of the JSON data model", supporting many more types of data than JSON. This implementation was written by Peter O. and is released to the Public Domain under the CC0 Declaration.
   This implementation also doubles as a reader and writer of JSON, and can convert data from JSON to CBOR and back.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (27)

Showing the top 5 NuGet packages that depend on PeterO.Cbor:

Package Downloads
AWSSDK.DAX.Client The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

AWS DynamoDB Accelerator (DAX) .NET Client -- DAX is a fully managed, in-memory cache for DynamoDB.

PubnubPCL

PubNub is a Massively Scalable Web Push Service for Web and Mobile Games. This is a cloud-based service for broadcasting messages to thousands of web and mobile clients simultaneously

Pubnub

PubNub is a Massively Scalable Web Push Service for Web and Mobile Games. This is a cloud-based service for broadcasting messages to thousands of web and mobile clients simultaneously

Com.AugustCellars.COSE

An implementation of the CBOR Object Signing and Encryption standards.

DSInternals.Common The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

This package is shared between all other DSInternals packages. Its main features are Azure AD Graph API and ADSI clients for for retrieval of cryptographic material. It contains implementations of common hash functions used by Windows, including NT hash, LM hash and OrgId hash. It also contains methods for SysKey/BootKey retrieval.

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on PeterO.Cbor:

Repository Stars
MichaelGrafnetter/DSInternals
Directory Services Internals (DSInternals) PowerShell Module and Framework
lithnet/ad-password-protection
Active Directory password filter featuring breached password checking and custom complexity rules
richardschneider/net-ipfs-engine
IPFS Core API implementation in .Net
pubnub/c-sharp
PubNub clients for C-Sharp based languages, including MS Windows C#/.net, Silveright, IIS, and Mono
Version Downloads Last updated
5.0.0-alpha1 15,322 12/14/2023
4.5.3 146,531 12/13/2023
4.5.2 743,936 1/18/2022
4.5.1 27,295 1/17/2022
4.5.0 7,536 12/9/2021
4.4.4 85,177 7/1/2021
4.4.2 17,015 5/13/2021
4.4.1 4,732 4/27/2021
4.4.0 10,701 4/19/2021
4.3.0 61,036 12/7/2020
4.2.0 76,622 7/18/2020
4.1.3 372,641 5/27/2020
4.1.2 17,599 4/25/2020
4.1.1 2,311 4/15/2020
4.1.0 107,207 12/15/2019
4.0.0 72,118 9/3/2019
3.5.2 20,927 7/4/2019
3.5.1 2,866 7/1/2019
3.5.0 9,119 6/2/2019
3.4.0-beta1 1,637 10/1/2018
3.3.0 12,798 9/3/2018
3.2.0 2,109 7/30/2018

In version 2.5.1:
* Really sign the CBOR assembly with a strong name key
In version 2.4.2:
* Really use 0.2.2 of
 [`PeterO.Numbers`](PeterO.Numbers)
 as dependency in NuGet package
In version 2.4.1:
* C# implementation now uses version 0.2.2 of
 [`PeterO.Numbers`](PeterO.Numbers)
In version 2.4:
* The arbitrary-precision classes in this library are being replaced
with a new library (called PeterO.Numbers (PeterO.Numbers) in C#).  As a result, most
of the methods in the existing classes are obsolete.  This affects the
classes `BigInteger`, `ExtendedDecimal`, `ExtendedFloat`, `ExtendedRational`,
`Rounding`, `PrecisionContext`, and `TrapException`.  Changes were made
to those classes to call the new classes, and the behavior is mostly
compatible with the previous behavior (with the notable exception
of a new dependency in the CBOR library).
* After version 2.3.1, the classes in the new library were greatly changed
from what they were in version 2.3.1.  Version 2.4.0 currently uses
version 0.2 of the new library, but this may change in future versions.  See the
 new library's release notes (https://github.com/peteroupc/Numbers),
and this repository's commit history (from "version 2.3.1"
to "move big number library...") for details.
* The FromObject method of the CBORObject class can now convert
arbitrary-precision number objects from the new library
appropriately, such as `EInteger` and `EDecimal`.  However, there are
no methods that directly take or return one of those classes, for
compatibility with version 2.0.
* Added Zero field and IsNegative property to the CBORObject class
* Added overloads to ReadJSON and FromJSONString in CBORObject class
* Added parameter in the ParseJSONNumber method of CBORDataUtilities
to preserve negative zeros
* Added CBOR decoding option to disable duplicate keys
* Fixed JSON parsing bugs
See the project page for release notes on previous versions: https://github.com/peteroupc/CBOR